Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
Cheshire-Cat
-
Untriaged
-
1
-
Unknown
Description
This transaction:
transactions.run((ctx) -> {
|
ctx.insert(collection, docId, initial);
|
ctx.query("SELECT * from `default` LIMIT 1"); |
});
|
fails at the BEGIN WORK point with error:
{"code":5000,"message":"transactional authorization - cause: Transactions are not configured for ATR Bucket"} |
There's two things going on here:
- Query is reading the "txdata" opaque structure which it should not be doing, as raised separately in
MB-42412. - Query is rejecting the transaction because it already has an ATR entry. This doesn't make sense, as a major objective of this integration project is to allow existing transactions (which will have an ATR entry) to then run queries.