diff --git a/ent/src/yb/master/restore_sys_catalog_state.cc b/ent/src/yb/master/restore_sys_catalog_state.cc index 4bbd553a6dd0..57ce89c3ed96 100644 --- a/ent/src/yb/master/restore_sys_catalog_state.cc +++ b/ent/src/yb/master/restore_sys_catalog_state.cc @@ -278,11 +278,12 @@ Status RestoreSysCatalogState::PatchAndAddRestoringTablets() { // Some examples: // // Example#1: Non-colocated split tablet that has finished split completely as of restore time - // t1 - // / \ - // t11 t12 <-- Restoring time - // / \ / \ - // t111 t112 t121 t122 <-- Present time + /* t1 + / \ + t11 t12 <-- Restoring time + / \ / \ + t111 t112 t121 t122 <-- Present time + */ // If we are restoring to a state when t1 was completely split into t11 and t12 then // in the restoring state, the split map will contain two entries // one each for t11 and t12. Both the entries will only have the parent diff --git a/ent/src/yb/master/restore_sys_catalog_state_test.cc b/ent/src/yb/master/restore_sys_catalog_state_test.cc index abb273ab877f..d9f086cc93ff 100644 --- a/ent/src/yb/master/restore_sys_catalog_state_test.cc +++ b/ent/src/yb/master/restore_sys_catalog_state_test.cc @@ -54,6 +54,7 @@ TEST(RestoreSysCatalogStateTest, Filter) { .non_system_objects_to_restore = {}, .existing_system_tables = {}, .restoring_system_tables = {}, + .non_system_tablets_to_restore = {}, }; RestoreSysCatalogState state(&restoration); SysNamespaceEntryPB namespace_entry; diff --git a/src/yb/master/master_snapshot_coordinator.cc b/src/yb/master/master_snapshot_coordinator.cc index 73951aafac04..4b1e06b60a6d 100644 --- a/src/yb/master/master_snapshot_coordinator.cc +++ b/src/yb/master/master_snapshot_coordinator.cc @@ -463,6 +463,7 @@ class MasterSnapshotCoordinator::Impl { .non_system_objects_to_restore = {}, .existing_system_tables = {}, .restoring_system_tables = {}, + .non_system_tablets_to_restore = {}, }); { std::lock_guard lock(mutex_);