mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
ctdb-vacuum: run the fast vacuum after the db traverse
This in preparation of modifying the db traverse to fill the delete_queue that is processed by the fast vacuum run, instead of filling the same lists as the fast vacuum run for further processing. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
parent
04c2115b60
commit
d0b7b38825
@ -1273,8 +1273,6 @@ static int ctdb_vacuum_db(struct ctdb_db_context *ctdb_db,
|
||||
return ret;
|
||||
}
|
||||
|
||||
ctdb_vacuum_db_fast(ctdb_db, vdata);
|
||||
|
||||
if (full_vacuum_run) {
|
||||
ret = ctdb_vacuum_db_full(ctdb_db, vdata);
|
||||
if (ret != 0) {
|
||||
@ -1282,6 +1280,8 @@ static int ctdb_vacuum_db(struct ctdb_db_context *ctdb_db,
|
||||
}
|
||||
}
|
||||
|
||||
ctdb_vacuum_db_fast(ctdb_db, vdata);
|
||||
|
||||
ret = ctdb_process_vacuum_fetch_lists(ctdb_db, vdata);
|
||||
if (ret != 0) {
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user