dcapwell commented on code in PR #4266:
URL: https://github.com/apache/cassandra/pull/4266#discussion_r2226021129
##########
src/java/org/apache/cassandra/service/accord/journal/AccordTopologyUpdate.java:
##########
@@ -129,8 +127,8 @@ public Journal.TopologyUpdate deserialize(DataInputPlus in)
throws IOException
CommandStores.RangesForEpoch rangesForEpoch =
RangesForEpochSerializer.instance.deserialize(in);
commandStores.put(commandStoreId, rangesForEpoch);
}
- Topology local =
TopologySerializers.compactTopology.deserialize(in);
Topology global =
TopologySerializers.compactTopology.deserialize(in);
+ Topology local = global.forNode(AccordService.instance().nodeId());
Review Comment:
when did a "trim" get added / needed? This is the way it used to be. Ill
look closer at this logic to see how things have changed
--
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]