Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
It's required to explicitly register an intent of starting readOnly transaction, so following decorator producer is expected in IgniteTransactions
/**
* Decorated {@code IgniteTransactions} instance that will start read-only transactions.
*
* @return Decorated {@code IgniteTransactions} instance that will start read-only transactions.
*/
IgniteTransactions readOnly();
Besides that Transaction interface should be extended with
boolean isReadOnly();
and
HybridTimestamp readTimestamp();
methods.
And finally three more overloaded methods will be added to the InternalTable
CompletableFuture<BinaryRow> get(
BinaryRowEx keyRow,
@NotNull HybridTimestamp readTimestamp,
@NotNull ClusterNode recipientNode
);
CompletableFuture<Collection<BinaryRow>> getAll(
Collection<BinaryRowEx> keyRows,
@NotNull HybridTimestamp readTimestamp,
@NotNull ClusterNode recipientNode
);
Publisher<BinaryRow> scan(
int p,
@NotNull HybridTimestamp readTimestamp,
@NotNull ClusterNode recipientNode
);
Please, pay attention, that new parameter @NotNull ClusterNode recipientNode is added.
Attachments
Issue Links
- Dependency
-
IGNITE-17330 Support RO TX by SQL
- Resolved
- links to