Skip to content

Commit

Permalink
fix bufferstream
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongqiangczq committed Aug 27, 2023
1 parent 7740c3b commit 0ce5938
Showing 1 changed file with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,16 +149,8 @@ public void close() {
public void moveToNextPartitionIfPossible(long endedStreamId) {
if (currentLocationIndex < locations.length) {
if (currentLocationIndex > 0) {
if (endedStreamId == streamId) {
logger.debug("Get end streamId {}", endedStreamId);
cleanStream(endedStreamId);
} else {
logger.warn(
"Received unexpected stream end, current stream id {} received ended stream id {}",
this.streamId,
endedStreamId);
return;
}
logger.debug("Get end streamId {}", endedStreamId);
cleanStream(endedStreamId);
}
try {
openStreamInternal();
Expand Down

0 comments on commit 0ce5938

Please sign in to comment.