Skip to content

[Feature Request]: Lock table. #1813

Closed
Closed
@small-turtle-1

Description

@small-turtle-1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions