aweisberg commented on code in PR #3395:
URL: https://github.com/apache/cassandra/pull/3395#discussion_r1706020738


##########
src/java/org/apache/cassandra/db/IMutation.java:
##########
@@ -75,4 +78,22 @@ default boolean allowsOutOfRangeMutations()
     {
         return false;
     }
+
+    /**
+     * True if this mutation is being applied by a transaction system or 
doesn't need to be
+     * and conflicts between this mutation and transactions systems that are 
managing all or part of this table
+     * should be assumed to be handled already (by either Paxos or Accord) and 
the mutation should be applied.
+     *
+     * This causes mutations against tables to fail if they are from a 
non-transaction sub-system such as mutations,
+     * logged and unlogged batches, hints, and read repair against tables that 
are being managed by a transaction system
+     * like Accord that can't safely read data that is written 
non-transactionally.
+     *
+     */
+    default boolean allowPotentialTransactionConflicts()

Review Comment:
   I'll admit it's not a fun concept. Reminder to get back to this todo.



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to