Skip to content

Commit

Permalink
[enhancement](be-meta) sync rocksdb by default to protect data
Browse files Browse the repository at this point in the history
If performance of user's disks is low, users can change the config
to false, this way users know what would happen if a kernel panic.
  • Loading branch information
dataroaring committed Sep 18, 2023
1 parent 1ac7c8f commit 42848ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion be/src/common/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ DEFINE_mInt32(result_buffer_cancelled_interval_time, "300");
DEFINE_mInt32(priority_queue_remaining_tasks_increased_frequency, "512");

// sync tablet_meta when modifying meta
DEFINE_mBool(sync_tablet_meta, "false");
DEFINE_mBool(sync_tablet_meta, "true");

// default thrift rpc timeout ms
DEFINE_mInt32(thrift_rpc_timeout_ms, "60000");
Expand Down

0 comments on commit 42848ba

Please sign in to comment.