Skip to content

Conversation

barshaul
Copy link

@barshaul barshaul commented Sep 12, 2024

This pull request combines the changes from PRs #186 and #185 into the main branch. It introduces two significant updates:

  1. SlotMap Refactor: The SlotMap structure has been updated with the addition of a NodesMap, which allows shard addresses to be shared between shard nodes and slot map values. This refactor optimizes how shard information is managed. For a detailed explanation, refer to PR SlotMap refactor: Added NodesMap, sharing shard addresses between shard nodes and slot map values. #185.
    The diagram on the left illustrates the current SlotMap design, while the diagram on the right shows the newly implemented structure:
    image

  2. MOVED Error Handling: Logic has been added to update the slot map in response to MOVED errors. Previously, this was handled only during refresh_slots operations. With this change, the slot map is updated immediately upon encountering a MOVED error. More information can be found in PR Added logic to update the slot map based on MOVED errors #186.

@barshaul barshaul force-pushed the update_slotmap_moved branch 2 times, most recently from eafaadb to 368283b Compare September 12, 2024 15:32
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.

2 participants