rpuch commented on code in PR #7763:
URL: https://github.com/apache/ignite-3/pull/7763#discussion_r2923748870
##########
modules/metastorage/src/integrationTest/java/org/apache/ignite/internal/metastorage/impl/ItIdempotentCommandCacheTest.java:
##########
@@ -607,4 +650,34 @@ private void startCluster(TestInfo testInfo) {
nodes.forEach(Node::deployWatches);
}
+
+ @Target(ElementType.METHOD)
+ @Retention(RetentionPolicy.RUNTIME)
+ private @interface DisableIdleSafeTimePropagation {
+ }
+
+ private enum Invoker {
+ INVOKE {
+ @Override
+ CompletableFuture<Boolean> invokeOn(MetaStorageManager
metaStorageManager) {
+ return metaStorageManager.invoke(
+ notExists(TEST_KEY),
+ put(TEST_KEY, TEST_VALUE),
+ put(TEST_KEY, ANOTHER_VALUE)
+ );
+ }
+ },
+ MULTI_INVOKE {
Review Comment:
The command is called MultiInvokeCommand. What name would you suggest
instead for this enum constant?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]