Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
noob-se7en committed Jan 9, 2025
1 parent 6ab195b commit 922f6e2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1624,7 +1624,7 @@ public RealtimeSegmentDataManager(SegmentZKMetadata segmentZKMetadata, TableConf
// reload segment metadata to get latest status
segmentZKMetadata = _realtimeTableDataManager.fetchZKMetadata(_segmentNameStr);

if (segmentZKMetadata.getStatus() != CommonConstants.Segment.Realtime.Status.DONE) {
if (segmentZKMetadata.getStatus() == CommonConstants.Segment.Realtime.Status.DONE) {
// segment has already been uploaded by another server.
_segmentLogger.warn("segment: {} already exists. Skipping creation of RealtimeSegmentDataManager",
_segmentNameStr);
Expand Down

0 comments on commit 922f6e2

Please sign in to comment.