Skip to content

[Repository Request] Create "index-digest" repository (a new "Hierarchical Index Digest" plugin) #666

Closed

Description

@laminelam

Are you requesting a new GitHub Repository within opensearch-project GitHub Organization?

yes

GitHub Repository Proposal

opensearch-project/OpenSearch#20889

GitHub Repository Additional Information

1. What is the new GitHub repository name?

"index-digest"

2. Project description and community value?

Index Digest is an OpenSearch plugin implementing Hierarchical Index Digest (HID), a deterministic and incremental mechanism for validating index consistency.

It builds hierarchical Merkle style digests over immutable, externally versioned document buckets, enabling two indices to be compared in logarithmic time instead of a full document scans, while precisely localizing any discrepancies.

Community value includes:

  • Efficient index and shard-copy consistency validation
  • Replica-divergence detection
  • Cross-cluster and migration verification
  • Precise localization of inconsistent data ranges
  • A foundation for future targeted repair and anti-entropy workflows
  1. What user problem are you trying to solve with this new repository?

Operators need to verify that two datasets are identical after replication, migration, backfill or restore, and today have no efficient way to do it: full comparisons scan billions of documents, silent divergence (especially missed deletes) goes undetected, and when a difference is found there is no way to say where.
This plugin gives a deterministic fingerprint per shard, a compare API that reports equal / not-equal with the divergent leaf buckets, and does it in "append-only" way without rebuilding history. New changes are processed incrementally, so months or years of historical data do not need to be rescanned after every update.

4. Why do we create a new repo at this time?

The design has been published for community discussion in opensearch-project/OpenSearch#20889, and a working OpenSearch plugin implementation now exists with unit, integration, and REST test coverage. A dedicated repository is needed for community review, independent plugin development, CI, releases, documentation, and long-term ownership.

5. Is there any existing projects that is similar to your proposal?

No

6. Should this project be in OpenSearch Core/OpenSearch Dashboards Core? If no, why not?
Or, shall we combine this project to an existing repo source code in opensearch-project GitHub Org?

No. Index Digest integrates with OpenSearch internals but is an optional operational capability that not every cluster requires. A plugin repository provides independent ownership, release management, and iteration while avoiding additional complexity in OpenSearch Core.

7. Is this project an OpenSearch/OpenSearch Dashboards plugin to be included as part of the OpenSearch release?

Yes

GitHub Repository Owners

1. Who will be supporting this repo going forward?
@laminelam (RFC author and implementer)
@msfroh

2. What is your plan (including staffing) to be responsive to the community (at a minimum, this should include reviewing PRs, responding to issues, answering forum questions?)
Review, responding to issue, answering question here and other forums, etc.

3. Initial Maintainers List (max 3 users, provide GitHub aliases):
@laminelam
@msfroh

GitHub Repository Source Code / License / Libraries

1. Please provide the URL to the source code.

https://github.com/laminelam/index-digest

2. What is the license for the source code?

Apache License 2.0.

3. Does the source code include any third-party code that is not compliant with the Apache License 2.0?

No

What is the publication target(s)?

You can choose multiple targets from the list.

Maven Central, Maven Snapshots / Sonatype Nexus

Notes (DO NOT CHANGE)

Next Steps:

  • If this is about creating a new GitHub Repository

    • Build Interest Group (BIG) and its members will review your proposal and provide feedback
      • Review of Proposal, asking questions, adding comments
      • If there is any concern regarding the naming / IP, additional IP review will be requested
      • Involve Subject Matter Experts from other repositories on the proposed topics
      • Ensure new repositories align with the foundation’s charter
      • Review the provided source code if any
      • Send final feedback and recommendations to the Technical Steering Committee
    • Technical Steering Committee (TSC) will have a vote based on BIG feedback, and reply back the vote as a comment in this issue by a TSC member
    • At least three positive (+1) TSC members' votes are necessary, and no vetoes (-1) after a one week period, then Admin Team will open a repo creation ticket with Linux Foundation
    • Linux Foundation verify the votes and create repo
    • Admin Team setup automations on repo settings, secrets, scanning, add initial maintainers, and more
    • Repository delivered to the original requester
  • If you already have a GitHub repo and just want to add new publication target(s)

    • Admin Team will review your request and follow up

Track the progress of your request here: Engineering Effectiveness Board (view).
Member of @opensearch-project/admin will take a look at the request soon.
Thanks!

Activity

  1. peterzhuamazon commented on Sep 28, 2026

    @peterzhuamazon
    Member

    Hi @laminelam thanks for raising the request.

    1. Please add at least 3 maintainers as initial maintainer trio, I apologize for the outdated template
    2. Is this a plugin that required to be installed by default? Meaning will there be core functionalities that rely on this plugin, such that start up cluster require this plugin to be installed first?
    3. Are you planning to onboard this as part of the bundle release train? @msfroh should have more context on this as you would need to follow the release schedule strictly. And a lot of onboarding steps need to happen once code is ready.

    cc: @getsaurabh02 @anirudha @bugmakerrrrrr @mishail to review and give a vote on this. I see @msfroh is listed as a initial maintainer, but I will still get his opinion on this. Need at least three +1 and no -1 after a week.

    Thanks.

  2. mishail commented on Sep 28, 2026

    @mishail

    +1 from me

  3. msfroh commented on Sep 28, 2026

    @msfroh

    I can answer a couple of the questions:

    Is this a plugin that required to be installed by default?

    No. This is entirely new, standalone functionality.

    Are you planning to onboard this as part of the bundle release train?

    I would say "No". This is opt-in, expert functionality. If someone has a setup that requires consistency checking and repair, they should probably be able to install a plugin themselves.

    Edit: Oh, and it's a +1 from me on creating the repo. 😊

  4. getsaurabh02 commented on Sep 29, 2026

    @getsaurabh02
    Member

    looks good to me

  5. peterzhuamazon commented on Sep 29, 2026

    @peterzhuamazon
    Member

    Thanks all for the feedback and I will raise a ticket with LF.
    It would take a bit to get the repo setup, which I am projecting to deliver next week, once LF approve.

    Thanks.

  6. peterzhuamazon commented on Sep 29, 2026

    @peterzhuamazon
    Member

    And @laminelam @msfroh please raise a third maintainer alias for me to add.

    Thanks.

  7. peterzhuamazon commented on Sep 29, 2026

    @peterzhuamazon
    Member
  8. laminelam commented on Sep 29, 2026

    @laminelam
    Author

    And @laminelam @msfroh please raise a third maintainer alias for me to add.

    Thanks.

    Hi @peterzhuamazon

    Here are the 3 maintainers for now:

    @laminelam
    @msfroh
    @RS146BIJAY

  9. peterzhuamazon commented on Oct 2, 2026

    @peterzhuamazon
    Member

    We get an approval from LF now.
    I will take care of the repo setups next week.
    Once completed I will add all the maintainers and deliver the repo. Thanks.

  10. peterzhuamazon commented on Oct 7, 2026

    @peterzhuamazon
    Member

    Taking a look.

  11. peterzhuamazon commented on Oct 7, 2026

    @peterzhuamazon
    Member

    Repo is ready and public now: https://github.com/opensearch-project/index-digest

    Please let me know if you have any questions.

    Next steps:

    Happy Repo’ing!

    Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions