Skip to content

Commit

Permalink
refactor: remove unexpected memory watermark update (#19366)
Browse files Browse the repository at this point in the history
  • Loading branch information
zwang28 authored Nov 18, 2024
1 parent 7a50fec commit f5537d9
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/stream/src/task/barrier_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ use risingwave_common::util::epoch::EpochPair;
use risingwave_common::util::runtime::BackgroundShutdownRuntime;
use risingwave_hummock_sdk::table_stats::to_prost_table_stats_map;
use risingwave_hummock_sdk::{LocalSstableInfo, SyncResult};
use risingwave_pb::stream_plan::barrier::BarrierKind;
use risingwave_pb::stream_service::streaming_control_stream_request::{
InitRequest, InitialPartialGraph, Request,
};
Expand Down Expand Up @@ -538,11 +537,6 @@ impl LocalBarrierWorker {
barrier: &Barrier,
request: InjectBarrierRequest,
) -> StreamResult<()> {
if barrier.kind == BarrierKind::Initial {
self.actor_manager
.watermark_epoch
.store(barrier.epoch.curr, std::sync::atomic::Ordering::SeqCst);
}
debug!(
target: "events::stream::barrier::manager::send",
"send barrier {:?}, actor_ids_to_collect = {:?}",
Expand Down

0 comments on commit f5537d9

Please sign in to comment.