[SCM] CTDB repository - branch drop-laccessor created - ctdb-1.9.1-249-g125ab46
Ronnie Sahlberg
sahlberg at samba.org
Sun Nov 28 19:37:55 MST 2010
The branch, drop-laccessor has been created
at 125ab469da32cc4db6012d4d1779228351e675bf (commit)
- Log -----------------------------------------------------------------
commit 125ab469da32cc4db6012d4d1779228351e675bf
Author: Ronnie Sahlberg <ronniesahlberg at gmail.com>
Date: Mon Nov 29 13:07:59 2010 +1100
Remove LACOUNT and LACCESSOR and migrate the records immediately.
This concept didnt work out and it is really just as expensive as a full migration
anyway, without the benefit of caching the data for subsequence accesses.
Now, migrate the records immediately on first access.
This will be combined with a "cheap vacuum-lite" for special empty records to
prevent growth of databases.
Later extensions to mimic read-only behaviour of records will include proper shared read-only locking of database records, making the laccessor/lacount read-only access to the data obsolete anyway.
By removing this special case and handling of lacount laccessor makes the codapath where shared read-only locking will be be implemented simpler, and frees up space in the ctdb_ltdb header for use by vacuuming flags as well as read-only locking flags.
-----------------------------------------------------------------------
--
CTDB repository
More information about the samba-cvs
mailing list