Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions be/src/common/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,8 @@ namespace config {
CONF_mInt32(pending_data_expire_time_sec, "1800");
// inc_rowset expired interval
CONF_mInt32(inc_rowset_expired_sec, "1800");
// inc_rowset snapshot rs sweep time interval
CONF_mInt32(tablet_rowset_stale_sweep_time_sec, "1800");
// garbage sweep policy
CONF_Int32(max_garbage_sweep_interval, "3600");
CONF_Int32(min_garbage_sweep_interval, "180");
Expand Down Expand Up @@ -538,6 +540,10 @@ namespace config {

// Whether to continue to start be when load tablet from header failed.
CONF_Bool(ignore_load_tablet_failure, "false");

// Whether to continue to start be when load tablet from header failed.
CONF_Bool(ignore_rowset_stale_unconsistent_delete, "false");

} // namespace config

} // namespace doris
Expand Down
2 changes: 1 addition & 1 deletion be/src/olap/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ add_library(Olap STATIC
row_block.cpp
row_block2.cpp
row_cursor.cpp
rowset_graph.cpp
version_graph.cpp
schema.cpp
schema_change.cpp
serialize.cpp
Expand Down
4 changes: 0 additions & 4 deletions be/src/olap/base_compaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,6 @@ OLAPStatus BaseCompaction::compact() {
DorisMetrics::instance()->base_compaction_bytes_total.increment(_input_rowsets_size);
TRACE("save base compaction metrics");

// 5. garbage collect input rowsets after base compaction
RETURN_NOT_OK(gc_unused_rowsets());
TRACE("unused rowsets have been moved to GC queue");

return OLAP_SUCCESS;
}

Expand Down
4 changes: 0 additions & 4 deletions be/src/olap/cumulative_compaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,6 @@ OLAPStatus CumulativeCompaction::compact() {
DorisMetrics::instance()->cumulative_compaction_bytes_total.increment(_input_rowsets_size);
TRACE("save cumulative compaction metrics");

// 7. garbage collect input rowsets after cumulative compaction
RETURN_NOT_OK(gc_unused_rowsets());
TRACE("unused rowsets have been moved to GC queue");

return OLAP_SUCCESS;
}

Expand Down
230 changes: 0 additions & 230 deletions be/src/olap/rowset_graph.cpp

This file was deleted.

52 changes: 0 additions & 52 deletions be/src/olap/rowset_graph.h

This file was deleted.

Loading