| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| | |
(This used to be ctdb commit 998b7f4450026051867525d91c6d8dcbd2326ab5)
|
| |
| |
| |
| |
| |
| | |
dumping dbs
(This used to be ctdb commit efc033c28ade97f9884794256d59a4553e052d5f)
|
| |
| |
| |
| | |
(This used to be ctdb commit 7f46671fc912c969c5c87e50b77e2e3a7d6c8904)
|
| |
| |
| |
| | |
(This used to be ctdb commit 7e7d86ac9b05f8b67414200adc8ac87cfccf26cf)
|
| |
| |
| |
| |
| |
| | |
catdb"
(This used to be ctdb commit 326f88ef622620cb9e0569c4497bc0e86124beaa)
|
| |
| |
| |
| | |
(This used to be ctdb commit 6f8e7480dadf15d1639355fdb61d5bef025a0325)
|
| |
| |
| |
| | |
(This used to be ctdb commit 9e8045a5b0d8bd9ab2e0343b329de9f45b883531)
|
| |
| |
| |
| |
| |
| |
| |
| | |
dumping data in db dumps
Used in catdb, cattdb and dumpdbbackup.
(This used to be ctdb commit dd866116041e71cbf91e7fd91edcc9501634051d)
|
| |
| |
| |
| | |
(This used to be ctdb commit 079f12dfc1edeac9748af15f652f2f1a6ed35548)
|
| |
| |
| |
| | |
(This used to be ctdb commit 7b4663dd2454b798841815044f898dead9b734e2)
|
| |
| |
| |
| |
| |
| |
| |
| | |
in dumping databases
this option is used with the commands catdb, cattdb and dumpdbbackup.
(This used to be ctdb commit 6ec68a2e667f66d2b194fe48cb75229a2777842e)
|
| |
| |
| |
| |
| |
| | |
empty records.
(This used to be ctdb commit 4ada4bfc4510886c5c7fcf49e09711b9d2dcb75d)
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
traverse
This will be useful for also printing information about empty/deleted
records in "ctdb catdb", e.g. for debugging vacuuming issues.
(This used to be ctdb commit ddc5da3a0df7701934404192a0a0aa659a806acb)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
the current master doesn't
metze
(cherry picked from commit 6ba8af28f8a8f79db65120a97d7157dcc5c7e083)
Signed-off-by: Michael Adam <obnox@samba.org>
(This used to be ctdb commit ccd67cf7f26713e695000d89d9ce8cfa78bfe00f)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
compared to old 1.0 branches
This must have been mistakenly applied to master when you intended to push
for a different branch i guess.
Revert "recoverd: try to become the recovery master if we have the capability, but the current master doesn't"
This reverts commit a97d417aba85e901540147a4dff4794249442939.
(This used to be ctdb commit c19cb751077b78cf4b6e28a1e3746d4ffedbfd68)
|
| |
| |
| |
| |
| |
| |
| |
| | |
the current master doesn't
metze
(This used to be ctdb commit a97d417aba85e901540147a4dff4794249442939)
|
| |
| |
| |
| |
| |
| | |
metze
(This used to be ctdb commit ef5b47d1183ee99c39ae63045a994d35255ac829)
|
| |
| |
| |
| | |
(This used to be ctdb commit a95b524e57b861416f65baef7a0235bf7e394cef)
|
| |
| |
| |
| | |
(This used to be ctdb commit 6b9d308985ef2363c62fde6340ad37d56f6d7702)
|
| |
| |
| |
| | |
(This used to be ctdb commit 88ad1e75c686cd47aec18b0a8eb93c3b125f0e97)
|
| |
| |
| |
| | |
(This used to be ctdb commit 0f070a65a322bd6d3240ca96a9e5c3633ef647bf)
|
| |
| |
| |
| | |
(This used to be ctdb commit 39a5c0d8cca4ce5e8bc7055739a6377fb2dc36e0)
|
| |
| |
| |
| | |
(This used to be ctdb commit 4ae564e415560cde7e4cd4c5a1d7699f3d49621b)
|
| |
| |
| |
| | |
(This used to be ctdb commit 057023f5843c91d1cf8512f3675a01a119ea6157)
|
| |
| |
| |
| | |
(This used to be ctdb commit 66af6659eaffaeafbfa58779162aabe915d1c50f)
|
| |
| |
| |
| | |
(This used to be ctdb commit 7d4809ba343114e435830c7c1ab047dc4ce5ff0e)
|
| |
| |
| |
| |
| |
| | |
wrapper support
(This used to be ctdb commit 8d65d7f399ba2e6a4162eed5e84a58c7cb024187)
|
| |
| |
| |
| | |
(This used to be ctdb commit 99ce8a9de648babdfb1b1ea0219ee184c9718048)
|
| |
| |
| |
| | |
(This used to be ctdb commit 8dd377b6a4d188af086f9a5b41a1b48e44eda6f3)
|
| |
| |
| |
| | |
(This used to be ctdb commit 5e45a176031e973e97450296c28ddfb0a779e00b)
|
| |
| |
| |
| | |
(This used to be ctdb commit 17bcffab19fdbb435b4745ff90c327342bbbf0f8)
|
| |
| |
| |
| |
| |
| | |
ctdb_sys_send_tcp()
(This used to be ctdb commit 11bebd5367102fcd02b17c44ac87bf50d4c68785)
|
| |
| |
| |
| | |
(This used to be ctdb commit cc60df5a3edebfdf50fcd22ebfaad35736f90379)
|
| |
| |
| |
| | |
(This used to be ctdb commit 7420d9991e30575219c919ce2a8edce20ad3eb63)
|
| |
| |
| |
| | |
(This used to be ctdb commit b283be8658d6229314b9265ed8659d2cac573073)
|
| |
| |
| |
| | |
(This used to be ctdb commit add2506caf3340118be05a21b05dd71b822b1516)
|
| |\
| | |
| | |
| | | |
(This used to be ctdb commit 8959d15804bb5901356d7beec1ecddb1cabbca52)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
For a number of reasons (delip failure, admin stupidity, ...) an
interface that hosts public addresses can also contain spurious,
unmanaged addresses.
Add functionality to 10.interfaces, controlled by new configuration
variable CTDB_DELETE_UNEXPECTED_IPS, to delete these addresses when
encountered as part of a monitor event.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 88f88d86b0d08240f749fb721b8c401c2eeb1099)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The script name is now prepended to output by ctdbd.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit bfa0fe70db195413a6d7a98f46f7a1270aba678c)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* $fs can be parsed using shell prefix and suffix removal.
* df output can be parsed with a single call to sed.
Failure is indicated by empty output from sed, so we check for that
as the error condition, changing the associated message
appropriately.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit c5ef0d1440f1d952784cc67946c414d149722d01)
|
| |\ \
| | | |
| | | |
| | | | |
(This used to be ctdb commit c4ff223096e7dae2e67692825a78c520d30211e0)
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This didn't have auto_all set as true. However, there's no special
code to handle "-n all" and it just fails. If auto_all works for
status then it might as well work for scriptstatus.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 3084220e2aac3664511969f10cad206e505150a0)
|
| |\ \
| | | |
| | | |
| | | | |
(This used to be ctdb commit 6a57c64c58c77fd9dc7c7a1583d402c3ce0313b1)
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The call to ctdb_transport_allocate() can fail for 2 reasons:
* Unable to allocate memory.
* The transport is down, perhaps because CTDB is shutting down.
Either cause will be appropriately logged.
The current use of CTDB_NO_MEMORY_VOID() prints an "out of memory"
message regardless of what happened in ctdb_transport_allocate() and
this could be misleading.
Change this to print a more relaxed message.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 8c4a93e77c7d7d0cec6b2afd42c22475f1b5ccdc)
|
| |\ \
| | | |
| | | |
| | | | |
(This used to be ctdb commit 0f6991010cf4e1f0dd9f39243bcc8fff5dcc0524)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
These were intentionally not static so they could be linked to in unit
test programs. However, using the CCAN-style unit tests where
relevant code is just included, this is no longer necessary.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit d0e9e8554614bd49ffb9ec3509feaa0e80d0f65d)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Do this instead of linking to it. This means that, after previous
cleanups, we can fix ctdb_takeover.c to use static functions when
appropriate and simply include all the code we need to run tests.
To make this reusable in other tests, new file ctdbd_tests.c does all
of the relevant including. ctdb_takeover_tests.c just includes that
file.
Test objects built in this way can depend on new Makefile macro
$(CTDB_TEST_C), which contains ctdbd_tests.c and everything it
includes.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 41869d42194b74db43a176a068e96e411007e5f2)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Local variable stat generates a warning because it shadows a global
declatation, presumably stat(2). Rename it to s.
This is in the context of wanting to run CCAN-style tests where most
of the ctdbd code is just included in the test program.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit d17efacb3aa6fac61d89f4c88ca17579341c335f)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Rename parameter script_status to scripts to avoid shadowing a global
function with the same name in eventscript.c.
This is in the context of wanting to run CCAN-style tests where most
of the ctdbd code is just included in the test program.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 668358057c1e6b9bbad7209212f9135c5e6241a0)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This avoids a name clash with a slightly different function in
ctdb_control.c.
This is in the context of wanting to run CCAN-style tests where most
of the ctdbd code is just included in the test program.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 82f6108bfbc7e48ca88650297c6a1c6ede0e1c9c)
|