sajjad-moradi commented on code in PR #11679:
URL: https://github.com/apache/pinot/pull/11679#discussion_r1337546809
##########
pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/realtime/SegmentCompletionManager.java:
##########
@@ -122,51 +115,30 @@ protected StreamPartitionMsgOffsetFactory
getStreamPartitionMsgOffsetFactory(LLC
return
StreamConsumerFactoryProvider.create(streamConfig).createStreamMsgOffsetFactory();
}
- // We need to make sure that we never create multiple FSMs for the same
segment
- // Obtain locks based on segment name, so as to disallow same segment names
entering together
Review Comment:
The locks were added in this PR: https://github.com/apache/pinot/pull/4159
At that time, fsmMap was also available. Am I missing a point here or
could've we done the same thing in the PR#4159?
--
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]