Skip to content

Conversation

@isabella
Copy link
Member

No description provided.

}
},
}

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update the graph at the end because we use presence in the graph to determine if we have already sent this item. (visited set just like in put)

match output {
// If the object is absent, then send a get item message.
None => {
if state.graph.lock().unwrap().nodes.contains_key(&Id::Object(item.id.clone())) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

visited set check

@nitsky nitsky changed the title Fix/sync process based on completeness fix(sync): send process based on completeness Nov 23, 2025
@nitsky nitsky force-pushed the fix/sync-process-based-on-completeness branch from bedefb0 to 6825d30 Compare November 23, 2025 14:55
@isabella isabella force-pushed the fix/sync-process-based-on-completeness branch 2 times, most recently from 0068da7 to d41fb50 Compare November 25, 2025 03:31
@nitsky nitsky force-pushed the fix/sync-process-based-on-completeness branch from 13797f3 to 62d53ce Compare November 25, 2025 19:51
@isabella isabella force-pushed the fix/sync-process-based-on-completeness branch from 57172ed to ff5fb61 Compare November 25, 2025 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants