Skip to content

generic locks#3

Merged
akhileshh merged 3 commits into
mainfrom
akhilesh/generic-locks
Apr 23, 2026
Merged

generic locks#3
akhileshh merged 3 commits into
mainfrom
akhilesh/generic-locks

Conversation

@akhileshh

Copy link
Copy Markdown
Contributor

No description provided.

Durable record of an op's L2 chunk lock scope. Consumers set this when
acquiring a per-chunk indefinite lock so that if the worker dies
mid-write, the operator recovery path can locate the partial-write
region without a bigtable-wide lock-row scan.

Stored as a numpy uint64 array in the op-log row's family 0.
Chunk-scoped row-key counterparts to the existing root indefinite-lock
API. Survives worker crash; subsequent temporal acquires on the same
row refuse until explicit release.

- lock_by_row_key_with_indefinite — temporal acquire rejects if the
  indefinite column is set
- lock_by_row_key_indefinitely — acquire IndefiniteLock
- unlock_indefinitely_locked_by_row_key — value-matched release

Both bigtable and hbase.
@codecov

codecov Bot commented Apr 23, 2026

Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@akhileshh akhileshh merged commit 7008c77 into main Apr 23, 2026
5 checks passed
@akhileshh akhileshh deleted the akhilesh/generic-locks branch April 23, 2026 15:53
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