-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Where are the indexes actually being set? #306
Comments
The only places I'm seeing indexes actually having a |
I think most (but still not all) of this is being handled here: https://github.com/ssbc/go-ssb/blob/master/multilogs/combined.go |
That is just the combined index which isn't really used that much. The actual updates to other indexes happen for example here: go-ssb/graph/builder_indexing.go Line 103 in 55f4894
|
@boreq Shoot. That system has a bunch of possible race condition paths and is not well-synchronized with sbot, as I discovered when fixing |
From what I can tell from reading through the Margaret code, there should be some kind of a processing/setter function which is called by Margaret for each message on each index which either sets a Margaret index value or doesn't, depending on whether the message matches what's needed for that index. Where are these filter/set functions?
The text was updated successfully, but these errors were encountered: