maedhroz commented on code in PR #2049:
URL: https://github.com/apache/cassandra/pull/2049#discussion_r1061737563
##########
src/java/org/apache/cassandra/service/accord/txn/TxnRead.java:
##########
@@ -51,6 +54,9 @@
public class TxnRead extends AbstractKeySorted<TxnNamedRead> implements Read
{
+ // There is only potentially one partition in a CAS and
SERIAL/LOCAL_SERIAL read
+ public static final String DUMMY_NAME = "";
+ public static final TxnDataName DUMMY = TxnDataName.user(DUMMY_NAME);
Review Comment:
nit/naming: What about something more specific like "SERIAL_READ" (that's
also not just an empty string)?
--
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]