The branch, seqnum-test has been created at 8198e27e5d8dd1f5a927d75aff9ef122d7a5ac15 (commit)
- Log ----------------------------------------------------------------- commit 8198e27e5d8dd1f5a927d75aff9ef122d7a5ac15 Author: Ronnie Sahlberg <ronniesahlb...@gmail.com> Date: Fri Feb 12 09:15:39 2010 +1100 When storing records in a tdb that has "automatic seqnum updates" also check if the actual data for the record has changed or not. If it has not changed at all, except for possibly the header, this is likely just a dmaster migration operation in which case we want to write the record to the tdb but we do not want the tdb sequence number to be increased. commit 4e683873e0617b4c8f69ededeebd850d2f44694a Author: Ronnie Sahlberg <ronniesahlb...@gmail.com> Date: Fri Feb 12 09:12:30 2010 +1100 Add a new flag/enum to _tdb_store() to allow writing a record without increasing the seqnum We need this for CTDBD since CTDBD stores a 24 byte private header as part of the actual data. Everytime a record is migrated between nodes, this header is increased, even if the actual data past the header has not changed. This allows ctdbd to migrate records between nodes and thus modifying the header without at the same time increasing the tdb sequence number. ----------------------------------------------------------------------- -- CTDB repository