Skip to content
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

HDDS-11901. use om managed index for handling request #7722

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

sumitagrawl
Copy link
Contributor

@sumitagrawl sumitagrawl commented Jan 19, 2025

What changes were proposed in this pull request?

Remove dependency with ratis index for OM functionality for request object. Introduced IndexGenerator that will keep track of OM index and provide next index for request execution.

  1. Make use of OM managed index as IndexGenerator class and passing the index to ExecutionContext
  2. IndexGenerator will generate next index, save commit index, on leader change, update the index
  3. On existing cluster upgrade, it will reinit the index and available to be used for further request handling

Refer (HDDS-11898. design doc leader side execution) for Index generation and Step-by-step incremental changes for existing flow

Parent Jira:
https://issues.apache.org/jira/browse/HDDS-11897

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-11900

How was this patch tested?

  • TBD
  • Existing integration test for any impact

@sumitagrawl sumitagrawl added the om-pre-ratis-execution PRs related to https://issues.apache.org/jira/browse/HDDS-11897 label Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
om-pre-ratis-execution PRs related to https://issues.apache.org/jira/browse/HDDS-11897
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant