Skip to content

Commit

Permalink
fix(batch): refine local compute context (#13688)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenzl25 authored Nov 29, 2023
1 parent 30a5454 commit a43caf3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/batch/src/task/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ use std::sync::Arc;
use risingwave_common::catalog::SysCatalogReaderRef;
use risingwave_common::config::BatchConfig;
use risingwave_common::memory::MemoryContext;
use risingwave_common::metrics::LabelGuardedIntGauge;
use risingwave_common::util::addr::{is_local_address, HostAddr};
use risingwave_connector::source::monitor::SourceMetrics;
use risingwave_rpc_client::ComputeClientPoolRef;
Expand Down Expand Up @@ -195,8 +194,7 @@ impl ComputeNodeContext {
batch_metrics: None,
cur_mem_val: Arc::new(0.into()),
last_mem_val: Arc::new(0.into()),
// Leave it for now, it should be None
mem_context: MemoryContext::root(LabelGuardedIntGauge::<4>::test_int_gauge()),
mem_context: MemoryContext::none(),
}
}

Expand Down

0 comments on commit a43caf3

Please sign in to comment.