Jackie-Jiang commented on a change in pull request #7438:
URL: https://github.com/apache/pinot/pull/7438#discussion_r711374218
##########
File path:
pinot-common/src/main/java/org/apache/pinot/common/metadata/segment/SegmentZKMetadata.java
##########
@@ -123,6 +123,14 @@ public void setIndexVersion(String indexVersion) {
setValue(Segment.INDEX_VERSION, indexVersion);
}
+ public int getZkStatVersion() {
+ return _znRecord.getVersion();
+ }
+
+ public void setZkStatVersion(int zkStatVersion) {
Review comment:
You may check `ZKHelixDataAccessor.getProperty()` within the Helix code,
where the version within the `ZNRecord` is set from the `Stat` (it is reserved
for that purpose).
--
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]