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

[Feature Request]: Lock table. #1813

Closed
1 task done
small-turtle-1 opened this issue Sep 6, 2024 · 0 comments
Closed
1 task done

[Feature Request]: Lock table. #1813

small-turtle-1 opened this issue Sep 6, 2024 · 0 comments
Labels
feature request New feature or request

Comments

@small-turtle-1
Copy link
Contributor

Is there an existing issue for the same feature request?

  • I have checked the existing issues.

Is your feature request related to a problem?

No response

Describe the feature you'd like

Lock table command.

Describe implementation you've considered

When write txn in binding stage, it add ref-count in table_entry by 1 if table if not locked. or rollback that txn.
When lock table command is execute, it will wait ref-count of that table to be 1.
When the write txn is committed, ref-count is decreased by1.

Documentation, adoption, use case

No response

Additional information

No response

@small-turtle-1 small-turtle-1 added the feature request New feature or request label Sep 6, 2024
@small-turtle-1 small-turtle-1 mentioned this issue Sep 6, 2024
1 task
JinHai-CN pushed a commit that referenced this issue Sep 6, 2024
### What problem does this PR solve?

Add lock table command.

Linked issue: #1813


### Type of change

- [x] New Feature (non-breaking change which adds functionality)
@JinHai-CN JinHai-CN mentioned this issue Sep 11, 2024
78 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants