Skip to content

Log sql election incomplete counts

John Cai requested to merge jc-log-sql-election into master

fixes: #2733 (closed)

This MR changes the sql election query so that it returns all the rows of target node storages and the incomplete counts. We then take the first row as the new primary since we are ordering on the incomplete counts. After that we can log the rows so we can tell why praefect made a decision to elect a given primary.

Merge request reports

Loading