| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The word global is overloaded in tdb. The global_lock inside struct
tdb_context is used to indicate we hold a lock across all the chains.
Rename it to allrecord_lock.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(Imported from commit e9114a758538d460d4f9deae5ce631bf44b1eff8)
(This used to be ctdb commit a912657fb50a78b9b328c4564281fb9f7f1b3766)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The word global is overloaded in tdb. The GLOBAL_LOCK offset is used at
open time to serialize initialization (and by the transaction code to block
open).
Rename it to OPEN_LOCK.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(Imported from commit 7ab422d6fbd4f8be02838089a41f872d538ee7a7)
(This used to be ctdb commit a4f83910a485cf56f9b3df1dcf2ad36ebec57473)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Now tdb_open() calls tdb_transaction_cancel() instead of
_tdb_transaction_cancel, we can make it static.
Signed-off-by: Rusty Russell<rusty@rustcorp.com.au>
(Imported from commit a6e0ef87d25734760fe77b87a9fd11db56760955)
(This used to be ctdb commit d728a7f65bcd5f1aedbee41d6db5c35f10cb417e)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is taken from the CCAN code base: rather than using tdb_brlock for
locking and unlocking, we split it into brlock and brunlock functions.
For extra debugging information, brunlock says what kind of lock it is
unlocking (even though fnctl locks don't need this). This requires an
extra argument to tdb_transaction_unlock() so we know whether the
lock was upgraded to a write lock or not.
We also use a "flags" argument tdb_brlock:
1) TDB_LOCK_NOWAIT replaces lck_type = F_SETLK (vs F_SETLKW).
2) TDB_LOCK_MARK_ONLY replaces setting TDB_MARK_LOCK bit in ltype.
3) TDB_LOCK_PROBE replaces the "probe" argument.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(Imported from commit 452b4a5a6efeecfb5c83475f1375ddc25bcddfbe)
(This used to be ctdb commit 7b5fdc9c588237c83a1e70e5437e2e5510055b92)
|
| |
| |
| |
| |
| |
| |
| |
| | |
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
(Imported from commit 09e756b1d651caef203a4b7e02234f6dea374b08)
(This used to be ctdb commit b0dff4ed35ab2423b8fcc801cdaaebaa0d7654bb)
|
| |
| |
| |
| |
| |
| |
| |
| | |
This might help on some filesystems
(Imported from commit 1373e748aa53fbd3afe4d2377208257d42628d86)
(This used to be ctdb commit e9ee4aaeb471a7f5ba4c97d3f76f406c1fe9b92f)
|
| |
| |
| |
| |
| |
| | |
(Imported from commit 6824c6f46ba7c15e8af91d5aa8b21a946b63107b)
(This used to be ctdb commit 8b0a8a96edf8611257e58ea81ed872dc03ca5da6)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If a process (or the machine) dies after just after writing the
recovery head (pointing at the end of file), the recovery record will filled
with 0x42. This will not invoke a recovery on open, since rec.magic
!= TDB_RECOVERY_MAGIC.
Unfortunately, the first transaction commit will happily reuse that
area: tdb_recovery_allocate() doesn't check the magic. The recovery
record has length 0x42424242, and it writes that back into the
now-valid-looking transaction header) for the next comer (which
happens to be tdb_wipe_all in my tests).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(Imported from commit b37b452cb8c1f56b37b04abe7bffdede371ca361)
(This used to be ctdb commit 8c8782ecbb347e026f67d82a39555c0e43b1e9f8)
|
| |
| |
| |
| |
| |
| |
| |
| | |
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(Imported from commit 6269cdcd1538e2e3cead9e0f3c156b0363d607a0)
(This used to be ctdb commit e0ca2e02120258aabca1e1586a58a8d672484fb5)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This should make it easier to keep all release scripts alined as it will reduce
the difference between them to ideally a few variables
Also moves the tdb script in the scripts directory.
(Imported from commit 6339de7f4fef46fb3ad32d1ecf9379f5b5d24ccb)
(This used to be ctdb commit 8885b2206fba41ec289fda5dfd653ee676aa0dd3)
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
after recent fixes we need to raise the version to 1.2.1 so that
we can require also the right patched version.
(Imported from commit 70534adee10fc6f5bba2d9304668dc6508e5de5a)
(This used to be ctdb commit 84c971f33c24d32e5599aba7ba83bb474f7ac922)
|
| |
| |
| |
| |
| |
| |
| |
| | |
CTDB_MONITOR_FREE_MEMORY_WARN
BZ 59747
(This used to be ctdb commit 83446b2e7e28e3ed6627c1950053018b8799984a)
|
| |
| |
| |
| |
| |
| |
| | |
add the NATGW address as one to be removed in addition to the
public addresses.
(This used to be ctdb commit 234b86fb19aae7a43f1dd2c0f69b03164fe5aaca)
|
| |
| |
| |
| |
| |
| | |
and release public ip addresses if ctdbd is no longer running
(This used to be ctdb commit 1cdaaa0a3f53d1b075340a33dfdc42b534e99187)
|
|/
|
|
|
|
| |
to make the 10.interface script not fail with a syntax error
(This used to be ctdb commit a9831070344a6dcf46c55250f9d74a5870f37dfe)
|
|
|
|
|
|
|
|
|
| |
If the driver is virtio_net then we assume that the link is up rather
than ignoring the check altogether.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 3044d07da2a58260fa06bf489890b279bcf3ec39)
|
|
|
|
|
|
|
|
|
| |
Skip link test for this type of devices
Signed-off-by: Ralph Wuerthner <ralph.wuerthner@de.ibm.com>
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 2ea0a9f1a93781a0d036feb9fcc0d120b182922f)
|
|\
| |
| |
| | |
(This used to be ctdb commit 25cfa2aafd653c948430aae8729d293c86a6a68c)
|
| |\
| | |
| | |
| | | |
(This used to be ctdb commit 2a79d976f975ec1ecbd06c210cbb5e6a93068cec)
|
| | |
| | |
| | |
| | | |
(This used to be ctdb commit 8825a8e3936e4ddfc1482d07a63a620249f01fe7)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
addresses and verify that the remote nodes have/keep a consistent view of
assigned addresses.
If a remote node has an inconsistent view of addresses visavi the recovery
master this will trigger a full ip reallocation.
(This used to be ctdb commit f3bf2ab61f8dbbc806ec23a68a87aaedd458e712)
|
| |\|
| | |
| | |
| | | |
(This used to be ctdb commit 685be0a7e830464e01dccc744362040a75bc96b5)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
from ERR to NOTICE
BZ62086
(This used to be ctdb commit 7fa8486f9ffe2a039360b07423f734bdd884fe1d)
|
|\| |
| | |
| | |
| | | |
(This used to be ctdb commit 4fb662bba6d96d4c04dadd9f908c4184ef4e969a)
|
| |\|
| | |
| | |
| | | |
(This used to be ctdb commit 5ed7d6788b8f7bf71d7d66c3a620b1aec54dfd81)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
the script timedout.
Instead send a different signal (SIGABRT) to the child process to silently
kill the process group for the script and its children without logging
anything.
We abort any running "monitor" script anytime any other event is generated
either by ctdbd itself or by "ctdb eventscript ..."
BZ61043
(This used to be ctdb commit 9dd25cb751919799af9d8a23a0725343a8400e58)
|
| |\|
| | |
| | |
| | | |
(This used to be ctdb commit 2fb331d29f4756a7f45489a03cbd065d934f85bc)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
server ids.
BZ61890
(This used to be ctdb commit 944434eb6420774e42e58984c6ddaa326a6853bd)
|
| |\|
| | |
| | |
| | | |
(This used to be ctdb commit a1de6dff2011dcc8edfd3940a92bd1104a2c3936)
|
| | |
| | |
| | |
| | | |
(This used to be ctdb commit 45b3fe253c1d00c571b351fc73415bc799df3083)
|
| | |
| | |
| | |
| | | |
(This used to be ctdb commit 4f807b3a2d859f13c3e59e1ae737e9b145d7d613)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
winbind/smnd/nmbd
This is necessary for the new serverid approach.
Michael
(This used to be ctdb commit 8956f32e571093db7f285b83e4dd32960f8afc7c)
|
| | |
| | |
| | |
| | | |
(This used to be ctdb commit 787274374411116266ee66455a67c127b8d558c1)
|
| |/
| |
| |
| | |
(This used to be ctdb commit ae2cdd27af5a1a143020c8477d1e61068f21a4a4)
|
| |
| |
| |
| | |
(This used to be ctdb commit b07beb68bf2adf65e837669be0c7464852f829ac)
|
| |
| |
| |
| |
| |
| | |
metze
(This used to be ctdb commit dc2d0d0e559308ad2676f9ad973746c147d65eb9)
|
| |\
| | |
| | |
| | | |
(This used to be ctdb commit 216ceca7f886a9f0c4902b100f7ad44349821f9f)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The init script relies on the existence.
This should fix bug #6773 on bugzilla.samba.org:
https://bugzilla.samba.org/show_bug.cgi?id=6773
Michael
(This used to be ctdb commit 35e6aa1630732665deaed1e7fbf2c3bf6664895d)
|
| | |
| | |
| | |
| | | |
(This used to be ctdb commit 6b9315b140802dee5904c1db0d57205d9efc6c1c)
|
| | |
| | |
| | |
| | | |
(This used to be ctdb commit aab05d67dabf11be9063a2443af4d43bbc985fb6)
|
| |\ \
| | |/
| |/|
| | | |
(This used to be ctdb commit e59310132d8126ee3afc191b5db56e80a32986e8)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
made the severity of the decreasing interval log level the same as for the increasing,
they are both just info logs because they don't report errors
(This used to be ctdb commit fde29921f14a815ea68911d758485c9070f4eb2a)
|
| | |
| | |
| | |
| | |
| | |
| | | |
was called with a wrong parameter list
(This used to be ctdb commit e1e285d9f7fa3237dbbacca52a4eb2b264fa5986)
|
| | |
| | |
| | |
| | | |
(This used to be ctdb commit 3d82ca5b1b8ba2770c739493aa0cdd34bb4827d8)
|
| | |
| | |
| | |
| | |
| | |
| | | |
nice takes a binary as argument and not a function or builtin command
(This used to be ctdb commit e21b40db64b314a24caa2bc611cb48b93decb5aa)
|
| | |
| | |
| | |
| | |
| | |
| | | |
Michael
(This used to be ctdb commit 51fce280d3a7e2cce8e6e268a19d3594b38b9bb6)
|
| | |
| | |
| | |
| | | |
(This used to be ctdb commit 8ffd7500d1740f2ce384d2c41fa5cca983c63cea)
|
| | |
| | |
| | |
| | | |
(This used to be ctdb commit ea7debb162edfcf5844d27400f1448e0b92a55d6)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* interupted -> interrupted
* dont -> don't
(thanks to lintian)
See https://bugzilla.samba.org/show_bug.cgi?id=6935
(This used to be ctdb commit 942f597dd343f21e2f0fc5d8116d929286db7413)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
thanks to lintian
See https://bugzilla.samba.org/show_bug.cgi?id=6935
(This used to be ctdb commit 402aad596e143c1ae3ec4bf2dfe3863c505bfc40)
|