1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/ctdb/common
Ronnie Sahlberg b57bd0f896 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.

(This used to be ctdb commit 155dd1f4885fe142c6f8bd09430f65daf8a17e51)
2011-02-18 10:08:32 +11:00
..
cmdline.c event: Update events to latest Samba version 0.9.8 2010-08-18 09:16:31 +09:30
ctdb_io.c event: Update events to latest Samba version 0.9.8 2010-08-18 09:16:31 +09:30
ctdb_logging.c Add ctdb_fork(0 which will fork a child process and drop the real-time 2011-01-11 07:40:41 +11:00
ctdb_ltdb.c Remove LACOUNT and LACCESSOR and migrate the records immediately. 2011-02-18 10:08:32 +11:00
ctdb_message.c event: Update events to latest Samba version 0.9.8 2010-08-18 09:16:31 +09:30
ctdb_util.c change the hash function to use the much better Jenkins hash 2011-02-18 10:05:09 +11:00
rb_tree.c merge from ronnie 2008-02-04 20:07:15 +11:00
rb_tree.h In the recovery daemon, keep track of which node we have assigned public ip 2010-04-08 14:25:26 +10:00
system_aix.c move common code of system_linux.c and system_aix.c into new system_common.c 2009-02-28 03:08:31 +01:00
system_common.c AIX bind wants the correct addrsize 2010-09-03 11:49:19 +10:00
system_linux.c event: Update events to latest Samba version 0.9.8 2010-08-18 09:16:31 +09:30