mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
ctdb-daemon: Delete empty records from persistent database
Persistent databases are now always recovered by sequence number. So there is no need to keep the empty records in the database since they will never be recovered record-by-record using RSN. Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
This commit is contained in:
parent
bb5c394fde
commit
1a2aef042e
@ -104,8 +104,6 @@ static int ctdb_ltdb_store_server(struct ctdb_db_context *ctdb_db,
|
||||
keep = true;
|
||||
} else if (header->flags & CTDB_REC_RO_FLAGS) {
|
||||
keep = true;
|
||||
} else if (ctdb_db->persistent) {
|
||||
keep = true;
|
||||
} else if (header->flags & CTDB_REC_FLAG_AUTOMATIC) {
|
||||
/*
|
||||
* The record is not created by the client but
|
||||
|
Loading…
Reference in New Issue
Block a user