googleapis / googleapis/google-cloud-java

[java-spanner] No way to provide `transaction_tag` with Partitioned DML update

Aperta
#12,253 2 commenti 0 reazioni 1 assegnatario Rivendicata da @rahul2393 Vedi su GitHub
api: spanner
Lingua principale
Java
Stelle
2.1k
Fork
1.2k
Merge medio
1g 23h
PR unite (30g)
154

Descrizione

**Is your feature request related to a problem? Please describe.**
Not sure if that's a bug or a feature request. There is no way to assign a _transaction_tag_ (not request tag!) to a partitioned DML transaction.

**Describe the solution you'd like**
Well, give us a way to optionally pass a transaction tag.

**Additional context**
We'd like to use `transaction_tag`-s to make improvements to our CDC mechanism which utilizes Change Streams. Unlike request tags, transaction tags make it all the way to change stream's data change records and we'd like to use that. Unfortunately, we can't do it when we do a massive updates using Partitioned DML.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.