Skip to content

Commit

Permalink
fix fail test
Browse files Browse the repository at this point in the history
  • Loading branch information
wanghuaiyuan committed Jan 20, 2025
1 parent ca49bf6 commit 07e720b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2577,4 +2577,6 @@ public ColdDataCgCtrService getColdDataCgCtrService() {
public void setColdDataCgCtrService(ColdDataCgCtrService coldDataCgCtrService) {
this.coldDataCgCtrService = coldDataCgCtrService;
}


}
Original file line number Diff line number Diff line change
Expand Up @@ -2674,9 +2674,8 @@ private RemotingCommand fetchAllConsumeStatsInBroker(ChannelHandlerContext ctx,
group,
topic,
i);
if (consumerOffset < 0) {
if (consumerOffset < 0)
consumerOffset = 0;
}

offsetWrapper.setBrokerOffset(brokerOffset);
offsetWrapper.setConsumerOffset(consumerOffset);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,7 @@ public void shutdown() {
}

public void createTimer(byte[] columnFamily) {
for (int i = 0; i < storeConfig.getTimerGetMessageThreadNum(); i++) {
this.timerGetMessageServices.add(new TimerGetMessageService(columnFamily));
}
this.timerGetMessageServices.add(new TimerGetMessageService(columnFamily));
this.timerWarmServices.add(new TimerWarmService(columnFamily));
}
// ----------------------------------------------------------------------------------------------------------------
Expand Down

0 comments on commit 07e720b

Please sign in to comment.