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

IGNITE-24247 Indexes created with table must be created in AVAILABLE state #5113

Merged
merged 16 commits into from
Jan 28, 2025

Conversation

xtern
Copy link
Contributor

@xtern xtern commented Jan 23, 2025

https://issues.apache.org/jira/browse/IGNITE-24247

  • Added UpdateContext that holds a set of table ids.
  • When processing CreateTableCommand, we add the table ID to the context.
  • When processing the CreateIndexCommand, we set the status of the index depending on whether there was a create table command for the corresponding table in the same batch.
  • Most of the files have been changed because the UpdateProducer interface has changed.
  • Removed use of isCreatedWithTable flag (see StorageSortedIndexDescriptor and StorageHashIndexDescriptor).

@xtern xtern force-pushed the ignite-24247 branch 3 times, most recently from cc914e9 to 440313a Compare January 24, 2025 13:57
@xtern xtern changed the title IGNITE-24247 IGNITE-24247 Indexes created with table must be created in AVAILABLE state Jan 24, 2025
@xtern xtern marked this pull request as ready for review January 24, 2025 13:58
@xtern xtern force-pushed the ignite-24247 branch 3 times, most recently from 9c75a15 to 6ec8d3a Compare January 26, 2025 11:15
@xtern xtern merged commit 292cef1 into apache:main Jan 28, 2025
1 check passed
@xtern xtern deleted the ignite-24247 branch January 28, 2025 14:14
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.

6 participants