[PATCH] Drop empty records from persistent databases during recovery
amitay at gmail.com
Wed Jun 14 06:08:41 UTC 2017
During database recovery, empty records are not deleted from persistent
records. This was done to avoid database corruption when recovering
persistent databases using record sequence numbers (RSNs). Nowadays
persistent databases are always recovered using database sequence number
rather than record-by-record. So there is no more reason to carry around
empty records in persistent databases.
Here are two patches:
1. Stop storing empty records in the persistent database.
2. Drop any empty records during recovery of persistent databases.
Please review and push.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3382 bytes
Desc: not available
More information about the samba-technical