| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
This will allow to build clustered samba with built-in ctdb tree rather
than needing to install CTDB first.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Michael Adam <obnox@samba.org>
|
|
|
|
|
|
| |
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
(This used to be ctdb commit 307416afda707b687f5e89e8438e45c154a4c806)
|
|
|
|
|
|
| |
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
(This used to be ctdb commit 6e5cbe8fff71985e5a2fc16b7e9f2b868011ff5d)
|
|
|
|
|
|
|
|
|
| |
This allows to build against system tevent library. Also include tevent header
along with other common headers.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
(This used to be ctdb commit 9ae4389c2c959c5dcd8395fdae2b25ed7e1e873a)
|
|
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit fdca12c25e6fce6206135b994dedf44265e4eb09)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ctdb_protocol.h
ctdb_client.h is the existing internal client interface (which was mainly
in ctdb.h), and ctdb_protocol.h is the information needed for the wire
protocol only.
ctdb.h will be the new, shiny, libctdb API.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(This used to be ctdb commit 4bba6b8cd47b352f98d41f9f06258d5ac3c9adef)
|
|
|
|
|
|
| |
metze
(This used to be ctdb commit 8171d66f0061fe23ed6dfef87ffe63bfc19596eb)
|
|
|
|
|
|
| |
metze
(This used to be ctdb commit 4b4dd5d7f81bf226e05c7f3d40087043da1517a2)
|
|
|
|
|
|
|
|
| |
It is unlikely we will need something this verbose for normal troubleshooting.
This allows us to keep a significantly longer time interval of log messages
in the 500k slots available in the ringbuffer.
(This used to be ctdb commit cc99c05c0c6484ad574039a454e6133852cb41fa)
|
|
|
|
|
|
|
|
| |
regardless of log level.
add commandt to extract this in memory buffer and to clear it
(This used to be ctdb commit 29d2ee8d9c6c6f36b2334480f646d6db209f370e)
|
|
|
|
|
|
|
|
|
|
| |
(for struct sockaddr to be defined)
Thanks to William Jojo <w.jojo@hvcc.edu> for reporting.
Michael
(This used to be ctdb commit 7558bca1e99884c02747adb7cbea799d04ee24d5)
|
|
|
|
|
|
|
|
|
|
|
|
| |
make ctdb uptime print how long the recovery took
in the recovery daemon when we check that the public ip address
allocation on the local node is correct (we have the ips we should have
and we dont have any we shouldnt have) use ctdb uptime and check the
recovery start/stop times and make sure we dont check for ip allocation
inconsistencies during a recovery where the ip address allocation is in flux.
(This used to be ctdb commit f86551580349b7f662f9a07e4eb0c1189e38e429)
|
|
|
|
| |
(This used to be ctdb commit 7ba8f1dde318eab03f4257e5a89fd23e7281e502)
|
|
|
|
| |
(This used to be ctdb commit 3dc07f2bf98ab445ab960ef14173bc6924e3b658)
|
|
|
|
| |
(This used to be ctdb commit c591f9b2d2847f440702e7264c7da2fd6d69f4be)
|
|
|
|
| |
(This used to be ctdb commit 1a07d87122d51a40cd8ad5fe13533298c26857cb)
|
|
|
|
|
|
| |
into ctdb bzr tree
(This used to be ctdb commit eaea8a9fa8d2f5e08f3af619fa1008a663f39053)
|
|
|
|
| |
(This used to be ctdb commit 671ed94011e21396571a3f4a5191b9a83911c952)
|
|
|
|
| |
(This used to be ctdb commit 197a02384bd2ca42dfff4c0357175424d2321e9c)
|
|
|
|
|
|
| |
add a basic debug system with -dXX
(This used to be ctdb commit af9f21cef79f888c57d3b50a23ca787c9567ce60)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The problem we have is this:
- we want the client smbd processes to be able to 'shortcut' access
to the ltdb, by directly accessing the ltdb, and if the header of
the record shows we are the dmaster then process immediately, with
no overhead of talking across the unix domain socket
- a client doing a shortcut will use tdb_chainlock() to lock the
record while processing
- we want the main ctdb daemon to be able to set locks on the
record, and when those locks collide with a 'shortcut' fcntl lock,
we want the ctdb daemon to keep processing other operations
- we don't want to have to send a message from a smbd client to the
ctdbd each time it releases a lock
The solution is shown in this example. Note that the expensive fork()
and blocking lock is only paid in case of contention, so in the median
case I think this is zero cost.
(This used to be ctdb commit a3248c3e2b740cd2403acffd3c1f6a33dca0ea03)
|
|
|
|
| |
(This used to be ctdb commit b946ff61c0e4b3269d3c7e01093d0a6d5215d6ee)
|
|
|
|
|
|
| |
TODO: externize debug level
(This used to be ctdb commit 98442ce3e2b3f09ca6736abfa0a8314cbdafaac7)
|
|
|
|
| |
(This used to be ctdb commit 7d87132195e603f936368da5dd4cb6754c45b721)
|
|
|
|
|
|
|
|
| |
- started adding ctdb_call() code
- added ctdb_call_local() implementation
(This used to be ctdb commit 97b1fdf7fa0e230f36add3f1770ecb3a9faee0a1)
|
|
(This used to be ctdb commit 3b75ef65bd0bff9c6366aba5a26b90be509fa77b)
|