sanpwc commented on code in PR #4056:
URL: https://github.com/apache/ignite-3/pull/4056#discussion_r1678235374
##########
modules/affinity/src/main/java/org/apache/ignite/internal/affinity/Assignments.java:
##########
@@ -53,32 +53,38 @@ public class Assignments implements Serializable {
*/
private final boolean force;
+ /**
+ * Version of Catalog that matches current assignments.
+ */
+ private final int catalogVersion;
Review Comment:
I don't like how it looks. Formally Assignments is a part of affinity module
that should not depend on catalog. Let's revise an idea of using a timestamp
here.
--
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]