You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2020/06/09 16:01:28 UTC
[GitHub] [incubator-pinot] npawar commented on a change in pull request #5506: Moved StreamPartitionMsgOffset to be an interface
npawar commented on a change in pull request #5506:
URL: https://github.com/apache/incubator-pinot/pull/5506#discussion_r437112256
##########
File path: pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/realtime/PinotLLCRealtimeSegmentManager.java
##########
@@ -515,7 +519,8 @@ private void createNewSegmentZKMetadata(TableConfig tableConfig, PartitionLevelS
newSegmentZKMetadata.setTableName(realtimeTableName);
newSegmentZKMetadata.setSegmentName(segmentName);
newSegmentZKMetadata.setCreationTime(creationTimeMs);
- newSegmentZKMetadata.setStartOffset(startOffset);
+ // TODO Issue 5953 Use string offset in the metadata
+ newSegmentZKMetadata.setStartOffset(Long.parseLong(startOffset.toString()));
Review comment:
will we introduce new methods for setting offset in the metadata? What happens to old segments?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org