[PATCH] Add replicated database model to ctdb
slow at samba.org
Wed Jun 28 06:01:43 UTC 2017
On Wed, Jun 28, 2017 at 03:58:19PM +1000, Amitay Isaacs wrote:
> Replicated database is primarily a temporary database (so attached with
> TDB_CLEAR_IF_FIRST tdb flag).
> - it's valid for the lifetime of ctdb.
> - It's backed by a file so multiple processes can attach to it just like a
> volatile database.
> - It is manipulated using the transaction api as we do for persistent
> databases for replication.
> The other thing to note is that since it's opened with TDB_NOSYNC, it does
> not suffer from the same performance problem as persistent databases (due
> to fsync/fdatasync).
got it. Thanks!
More information about the samba-technical