Skip to content

Commit

Permalink
backupccl: disable restore data processor memory monitoring by default
Browse files Browse the repository at this point in the history
Temporarily disable memory monitoring for the restore data processor due to
current logic not handling deletes correctly.

Epic: none
  • Loading branch information
Rui Hu committed May 15, 2023
1 parent beea50d commit db60a07
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/ccl/backupccl/restore_processor_planning.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import (
"github.com/cockroachdb/cockroach/pkg/sql/physicalplan"
"github.com/cockroachdb/cockroach/pkg/sql/sem/tree"
"github.com/cockroachdb/cockroach/pkg/sql/types"
"github.com/cockroachdb/cockroach/pkg/util"
"github.com/cockroachdb/cockroach/pkg/util/ctxgroup"
"github.com/cockroachdb/cockroach/pkg/util/hlc"
"github.com/cockroachdb/cockroach/pkg/util/log"
Expand All @@ -54,7 +53,7 @@ var memoryMonitorSSTs = settings.RegisterBoolSetting(
settings.TenantWritable,
"bulkio.restore.memory_monitor_ssts",
"if true, restore will limit number of simultaneously open SSTs based on available memory",
util.ConstantWithMetamorphicTestBool("restore-memory-monitor-ssts", true),
false,
)

// distRestore plans a 2 stage distSQL flow for a distributed restore. It
Expand Down

0 comments on commit db60a07

Please sign in to comment.