Skip to content

Commit 1649b4a

Browse files
committed
[server][dvc] Do not drop PCS from partitionConsumptionStateMap for non-Helix triggered actions
1 parent 618b430 commit 1649b4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clients/da-vinci-client/src/main/java/com/linkedin/davinci/kafka/consumer/StoreIngestionTask.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2369,8 +2369,8 @@ protected void processCommonConsumerAction(ConsumerAction consumerAction) throws
23692369
* {@link #kafkaDataValidationService}, we would like to drain all the buffered messages before cleaning up those
23702370
* two variables to avoid the race condition.
23712371
*/
2372-
partitionConsumptionStateMap.remove(partition);
23732372
if (consumerAction.isHelixTriggeredAction()) {
2373+
partitionConsumptionStateMap.remove(partition);
23742374
LOGGER.info(
23752375
"Removing tracking of replica: {} from storage utilization manager as this UNSUBSCRIBE is helix triggered action",
23762376
topicPartition);

0 commit comments

Comments
 (0)