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

sql: transaction ID resolution for contention event store #74487

Closed
Tracked by #74485
Azhng opened this issue Jan 6, 2022 · 1 comment
Closed
Tracked by #74485

sql: transaction ID resolution for contention event store #74487

Azhng opened this issue Jan 6, 2022 · 1 comment
Labels
A-sql-observability Related to observability of the SQL layer

Comments

@Azhng
Copy link
Contributor

Azhng commented Jan 6, 2022

When we collect contention events from KV layer, the contention event embeds transaction ID. However, we would like to translate this transaction ID into transaction fingerprint ID using the mechanism created in #74486.

@blathers-crl
Copy link

blathers-crl bot commented Jan 6, 2022

Hi @Azhng, please add a C-ategory label to your issue. Check out the label system docs.

While you're here, please consider adding an A- label to help keep our repository tidy.

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is otan.

@Azhng Azhng changed the title Transaction ID Resolution Protocol sql: transaction ID resolution for contention event store Jan 6, 2022
@Azhng Azhng added A-sql-observability Related to observability of the SQL layer T-sql-observability labels Jan 6, 2022
Azhng added a commit to Azhng/cockroach that referenced this issue Jan 19, 2022
This commit refactors the pattern used in ConcurrentWriterBuffer used in
transaction ID cache into a generic helper data structure to allow for
future reuse.

Partially address cockroachdb#74487

Release note: None
Azhng added a commit to Azhng/cockroach that referenced this issue Jan 19, 2022
This commit introduces the new TxnIDResolution RPC endpoint. This RPC
endpoint utilizes the new txnidcache.Resolves interface to perform
transaction ID resolution.

Partially addresses cockroachdb#74487

Release note: None
Azhng added a commit to Azhng/cockroach that referenced this issue Jan 28, 2022
This commit introduces the new TxnIDResolution RPC endpoint. This RPC
endpoint utilizes the new txnidcache.Resolves interface to perform
transaction ID resolution.

Partially addresses cockroachdb#74487

Release note: None
Azhng added a commit to Azhng/cockroach that referenced this issue Feb 1, 2022
This commit introduces the new TxnIDResolution RPC endpoint. This RPC
endpoint utilizes the new txnidcache.Resolves interface to perform
transaction ID resolution.

Partially addresses cockroachdb#74487

Release note: None
Azhng added a commit to Azhng/cockroach that referenced this issue Feb 1, 2022
This commit refactors the pattern used in ConcurrentWriterBuffer used in
transaction ID cache into a generic helper data structure to allow for
future reuse.

Partially address cockroachdb#74487

Release note: None
Azhng added a commit to Azhng/cockroach that referenced this issue Feb 1, 2022
This commit refactors the pattern used in ConcurrentWriterBuffer used in
transaction ID cache into a generic helper data structure to allow for
future reuse.

Partially address cockroachdb#74487

Release note: None
Azhng added a commit to Azhng/cockroach that referenced this issue Feb 3, 2022
This commit introduces the new TxnIDResolution RPC endpoint. This RPC
endpoint utilizes the new txnidcache.Resolves interface to perform
transaction ID resolution.

Partially addresses cockroachdb#74487

Release note: None
Azhng added a commit to Azhng/cockroach that referenced this issue Feb 3, 2022
This commit refactors the pattern used in ConcurrentWriterBuffer used in
transaction ID cache into a generic helper data structure to allow for
future reuse.

Partially address cockroachdb#74487

Release note: None
Azhng added a commit to Azhng/cockroach that referenced this issue Feb 3, 2022
This commit refactors the pattern used in ConcurrentWriterBuffer used in
transaction ID cache into a generic helper data structure to allow for
future reuse.

Partially address cockroachdb#74487

Release note: None
craig bot pushed a commit that referenced this issue Feb 4, 2022
75084: rfc: enable Datestyle/IntervalStyle by Default r=e-mbrown a=e-mbrown

This is a proposal for enabling Datestyle and Intervalstyle
by default.

Release note: None

75176: sql: refactor ConcurrentWriteBuffer into ConcurrentBufferGuard r=Azhng a=Azhng

This commit refactors the pattern used in ConcurrentWriterBuffer used in
transaction ID cache into a generic helper data structure to allow for
future reuse.

Partially address #74487

Release note: None

75675: kvserver: introduce RangeAppliedState.RaftAppliedIndexTerm r=sumeerbhola a=sumeerbhola

The same field is also introduced in ReplicaState, since ReplicaState
is used in internal data-structures and when sending a state machine
snapshot.

The migration code uses a special unused term value in a
ReplicatedEvalResult to signal to the state machine application
machinery to start populating the term field.

Fixes #75671

Release note: None

Co-authored-by: e-mbrown <[email protected]>
Co-authored-by: Azhng <[email protected]>
Co-authored-by: sumeerbhola <[email protected]>
Azhng added a commit to Azhng/cockroach that referenced this issue Feb 14, 2022
This commit introduces the new TxnIDResolution RPC endpoint. This RPC
endpoint utilizes the new txnidcache.Resolves interface to perform
transaction ID resolution.

Partially addresses cockroachdb#74487

Release note: None
Azhng added a commit to Azhng/cockroach that referenced this issue Feb 14, 2022
This commit introduces the new TxnIDResolution RPC endpoint. This RPC
endpoint utilizes the new txnidcache.Resolves interface to perform
transaction ID resolution.

Partially addresses cockroachdb#74487

Release note: None
Azhng added a commit to Azhng/cockroach that referenced this issue Feb 16, 2022
This commit introduces the new TxnIDResolution RPC endpoint. This RPC
endpoint utilizes the new txnidcache.Resolves interface to perform
transaction ID resolution.

Partially addresses cockroachdb#74487

Release note: None
Azhng added a commit to Azhng/cockroach that referenced this issue Feb 16, 2022
This commit introduces the new TxnIDResolution RPC endpoint. This RPC
endpoint utilizes the new txnidcache.Reader interface to perform
transaction ID resolution.

Partially addresses cockroachdb#74487

Release note: None
Azhng added a commit to Azhng/cockroach that referenced this issue Feb 16, 2022
This commit introduces the new TxnIDResolution RPC endpoint. This RPC
endpoint utilizes the new txnidcache.Reader interface to perform
transaction ID resolution.

Partially addresses cockroachdb#74487

Release note: None
Azhng added a commit to Azhng/cockroach that referenced this issue Feb 16, 2022
This commit introduces the new TxnIDResolution RPC endpoint. This RPC
endpoint utilizes the new txnidcache.Reader interface to perform
transaction ID resolution.

Partially addresses cockroachdb#74487

Release note: None
craig bot pushed a commit that referenced this issue Feb 17, 2022
75177: sql,server: exposes TxnIDResolution rpc endpoint r=Azhng a=Azhng

This commit introduces the new TxnIDResolution RPC endpoint. This RPC
endpoint utilizes the new txnidcache.Reader interface to perform
transaction ID resolution.

Partially addresses #74487

Release note: None

Co-authored-by: Azhng <[email protected]>
@Azhng Azhng closed this as completed Feb 26, 2022
RajivTS pushed a commit to RajivTS/cockroach that referenced this issue Mar 6, 2022
This commit introduces the new TxnIDResolution RPC endpoint. This RPC
endpoint utilizes the new txnidcache.Reader interface to perform
transaction ID resolution.

Partially addresses cockroachdb#74487

Release note: None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-sql-observability Related to observability of the SQL layer
Projects
None yet
Development

No branches or pull requests

1 participant