Skip to content

Core: Secondary Index metadata handling POC#15658

Draft
osscm wants to merge 21 commits intoapache:mainfrom
osscm:sec-index-poc-review
Draft

Core: Secondary Index metadata handling POC#15658
osscm wants to merge 21 commits intoapache:mainfrom
osscm:sec-index-poc-review

Conversation

@osscm
Copy link

@osscm osscm commented Mar 17, 2026

POC implementation for secondary index metadata handling.

Based on the secondary index proposal, this adds:

  • IndexCatalog API (list, load, create, drop, register)
  • IndexMetadata, IndexSnapshot, IndexVersion, IndexDefinition types
  • Base implementations: BaseIndexCatalog, BaseIndexOperations, BaseIndex
  • Catalog implementations: InMemoryIndexCatalog, JdbcIndexCatalog, RESTIndexCatalog
  • Fix: reuse IndexOperations instance in loadIndex() instead of creating a second one
  • Fix: replace() now propagates CommitFailedException correctly (was incorrectly converting to AlreadyExistsException)

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants