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

fix: duplicate key #1343

Closed
wants to merge 2 commits into from
Closed

fix: duplicate key #1343

wants to merge 2 commits into from

Conversation

ShiKaiWi
Copy link
Member

@ShiKaiWi ShiKaiWi commented Dec 4, 2023

Rationale

Close #1205

Detailed Changes

Introduce such mechanism to ensure the shared storage won't be still in use after table is closed:
Do reference count for the table-level usage of the wal & object store (shared storages), and wait for all the references dropped before close table.

Test Plan

  • Should pass all the tests in the ci.
  • The relevant logs should occur when table is closed.

@ShiKaiWi ShiKaiWi changed the title feat: add resource keeper fix: duplicate key Dec 4, 2023
@ShiKaiWi ShiKaiWi marked this pull request as draft December 4, 2023 12:17
@ShiKaiWi
Copy link
Member Author

More code refactoring about TableData, TableImpl and Instance is necessary before this changeset.

@ShiKaiWi ShiKaiWi closed this Dec 12, 2023
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.

1 participant