mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-14 08:52:56 +00:00
remove FIXME addressed by 'On tenant load, start WAL receivers only after all timelines have been loaded.'
This commit is contained in:
@@ -892,10 +892,6 @@ impl Tenant {
|
||||
// Sort the array of timeline IDs into tree-order, so that parent comes before
|
||||
// all its children.
|
||||
let sorted_timelines = tree_sort_timelines(timelines_to_load)?;
|
||||
// FIXME if we init some of the timelines and one of them is broken we
|
||||
// potentially will end up with partially launched wal receivers.
|
||||
// 1. Either move it out of initialize_with_lock
|
||||
// 2. Or pass it as a flag
|
||||
// FIXME original collect_timeline_files contained one more check:
|
||||
// 1. "Timeline has no ancestor and no layer files"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user