summaryrefslogtreecommitdiffstats
path: root/ctdb
Commit message (Collapse)AuthorAgeFilesLines
...
| * we must not free the fde until after we no longer need the lock childAndrew Tridgell2007-05-141-2/+5
| | | | | | | | (This used to be ctdb commit e06776c7c37b63f5c3165c7043d665e0c1a95337)
* | merge from tridgeRonnie Sahlberg2007-05-143-2/+13
|\| | | | | | | (This used to be ctdb commit 65f4415e618dbbac0260f6a4e51e051e6df64a61)
| * kill the lockwait child if the pipe goes awayAndrew Tridgell2007-05-141-1/+3
| | | | | | | | (This used to be ctdb commit bdfa8ba9932fade074a05a6cb6bc14ae3b84618c)
| * don't allow setvnnmap while not frozenAndrew Tridgell2007-05-141-0/+5
| | | | | | | | (This used to be ctdb commit a73f47f565894cc7e346177d87f2e6813837e1c6)
| * don't allow setrecmaster while not frozenAndrew Tridgell2007-05-141-1/+5
| | | | | | | | (This used to be ctdb commit e84b05ba6062ffc45b7f3c23e88feef1d39069c4)
* | remove the control to bump the rsn since we dont need it anymoreRonnie Sahlberg2007-05-145-94/+0
| | | | | | | | (This used to be ctdb commit a646b6d77bd8adf6c986259c534a05400c4bde11)
* | add a mising parameter to the new signature for ctdb_controlRonnie Sahlberg2007-05-141-1/+1
| | | | | | | | (This used to be ctdb commit 3a3304cd48d644c758f416ec283faf3ba9690c04)
* | merge from tridgeRonnie Sahlberg2007-05-1415-312/+791
|\| | | | | | | (This used to be ctdb commit 7bca79ad6357149fd7c6b28ce4b05de3d223a7de)
| * make sure the ctdb control socket is secureAndrew Tridgell2007-05-131-5/+17
| | | | | | | | (This used to be ctdb commit 2954f2e501a418af578e75e8705b0b39a77c1861)
| * added error messages in ctdb_control repliesAndrew Tridgell2007-05-127-48/+99
| | | | | | | | (This used to be ctdb commit bd848f5b760e6b2a73ebfc67fd8adb3c31479fb5)
| * prioritise the dmaster in case of matching rsnAndrew Tridgell2007-05-121-3/+5
| | | | | | | | (This used to be ctdb commit 4996a12174aa0d215a5b14cb970bdf83eed34a39)
| * the invalid dmaster is no longer needed in recoveryAndrew Tridgell2007-05-121-12/+0
| | | | | | | | (This used to be ctdb commit bd638ea63d11485bc3a8c50d923262a48095c2f3)
| * the retry client code is no longer needed now that we use a freeze on recoveryAndrew Tridgell2007-05-121-44/+0
| | | | | | | | (This used to be ctdb commit 4213475a2db93b149705bfbb578c78936124c608)
| * ensure we propogate the correct rsn for a request dmasterAndrew Tridgell2007-05-121-0/+4
| | | | | | | | (This used to be ctdb commit 70c1c67db865db8a49b56e8e3e8fd56ec5063208)
| * simplify the generation checking on incoming call packetsAndrew Tridgell2007-05-121-66/+10
| | | | | | | | (This used to be ctdb commit 87ee47f7fbbf71228bc9cc16faff86b4c59333a2)
| * make sure we ignore requeued ctdb_call packets of older generations except ↵Andrew Tridgell2007-05-125-10/+23
| | | | | | | | | | | | for packets from the client (This used to be ctdb commit facab105fbd7fe50f96bdd763ae50ddc54fbdacc)
| * added -t option to ctdb_controlAndrew Tridgell2007-05-121-25/+27
| | | | | | | | (This used to be ctdb commit 658141280eeb121a570d71c4b0af36d03004f320)
| * - nicer message if freeze child diesAndrew Tridgell2007-05-122-9/+13
| | | | | | | | | | | | - change local generation count after recovery/freeze started (This used to be ctdb commit d9768142797f083a8c09b55d6a8a93cc12089348)
| * show total frozen/recoving in statusAndrew Tridgell2007-05-123-0/+6
| | | | | | | | (This used to be ctdb commit 0d0eb66a63fe6912edb85bf7387ac76acb70babd)
| * report number of frozen/thawed nodesAndrew Tridgell2007-05-121-2/+8
| | | | | | | | (This used to be ctdb commit 997720bc0e15d882aefed3464fe285674beed691)
| * watch for the freeze child exitingAndrew Tridgell2007-05-121-2/+0
| | | | | | | | (This used to be ctdb commit 7f350eca8598022ebd198b2476d1f2c2a8f03a8d)
| * more robust freeze/thaw logicAndrew Tridgell2007-05-122-61/+78
| | | | | | | | (This used to be ctdb commit 51c1e51aeb7dfac1683584df7ef1bef98c092f76)
| * separate out the freeze/thaw handling from recoveryAndrew Tridgell2007-05-129-243/+440
| | | | | | | | (This used to be ctdb commit 0b0640bd8b8334961f240e0cf276ac112cd6e616)
| * added lockwait child code for entering recovery mode. A child processes ↵Andrew Tridgell2007-05-127-76/+331
| | | | | | | | | | | | holds lockall locks for the entire recovery process (This used to be ctdb commit f892f30def75b0d964c35eae38c4cf675597dd28)
| * added _mark calls for tdb_lockallAndrew Tridgell2007-05-122-2/+26
| | | | | | | | (This used to be ctdb commit e59134fd2af67c746b907c23fdcde2eccbbe17cf)
| * fixed debug messageAndrew Tridgell2007-05-111-1/+1
| | | | | | | | (This used to be ctdb commit 9802bf1ef9104b31977020e803b0f81da71c7169)
* | we have to get a NEW generation id after completing recoveryRonnie Sahlberg2007-05-112-1/+2
| | | | | | | | | | | | | | to solve a race condition with the logic to retransmit in ctdb_call.c/ctdb_call_timeout() (This used to be ctdb commit 1044ddca9ff5c434816de35d3f659aa182704e97)
* | merge from tridgeRonnie Sahlberg2007-05-112-3/+14
|\| | | | | | | (This used to be ctdb commit 826058b547b8e836f0a7066e9479e481ad9c472e)
| * - merge from ronnieAndrew Tridgell2007-05-113-43/+42
| |\ | | | | | | | | | | | | | | | | | | - increment rsn only in become_dmaster - add torture check for rsn regression in ctdb_ltdb_store (This used to be ctdb commit 8047506a08bb53ee01aa64f25c9f72839e1e2d68)
* | | add a control to bump the rsn number for all records in a databaseRonnie Sahlberg2007-05-116-0/+99
| |/ |/| | | | | | | | | | | | | use this control from the recovery daemon to ensure that the recmaster always have a higher rsn than andy other node for the records after recovery completes (This used to be ctdb commit 6fb6a8b981a804bfcc460c4481c51c7c647230f6)
* | we must bump the rsn everytime we do a REQ_DMASTER or a REPLY_DMASTERRonnie Sahlberg2007-05-111-2/+2
| | | | | | | | | | | | | | | | | | | | to make sure that the "merge records based on rsn during recovery" will merge correctly. this is extra important since samba3 never bumps the record when it writes new data to it ! (This used to be ctdb commit 857e67204065603592c2dbbadbd8667ebba9ccdb)
* | make ctdb_control catdb work againRonnie Sahlberg2007-05-111-42/+30
|/ | | | (This used to be ctdb commit 40a8fb68c71be0b9f54ae88bf8aa39a4c71f3b5a)
* - got rid of the complex hand marshalling in the recovery controlsAndrew Tridgell2007-05-109-372/+323
| | | | | | | | | | | | | | | - fixed the re-send of ctdb calls after a generation change - fixed a reqid idr leak in controls - removed the write_record test code - use the new nonblock lockall code to prevent ctdbd from ever doing a blocking lock that could deadlock with smbd - moved more of the recovery controls into ctdb_recover.c (This used to be ctdb commit 565a21aa4f1e842309986ab97d6244801153deec)
* added nonblocking varients of the two lockall functions to tdbAndrew Tridgell2007-05-102-5/+23
| | | | (This used to be ctdb commit 2e99fa41ce01fa282bc0f3244ca42a78173743ed)
* better timeout handling for calls, controls and traversesAndrew Tridgell2007-05-106-28/+84
| | | | (This used to be ctdb commit 63346a6c59d4821b4c443939b5d88db8cd20f5fe)
* merge from ronnieAndrew Tridgell2007-05-103-8/+20
|\ | | | | | | (This used to be ctdb commit 92b7a849565730744c75a7fb776173554e9f57bf)
| * create a correct vnnmap structure to prevent a segvRonnie Sahlberg2007-05-101-1/+2
| | | | | | | | (This used to be ctdb commit 17777bb5e6208e97a82a171243c6c406f53ee02e)
| * update ctdb_control to create a correct ctdb_vnn_map->map arrayRonnie Sahlberg2007-05-101-1/+7
| | | | | | | | (This used to be ctdb commit e510cc89068557881688d6cada38915b3e51f8cd)
| * when starting a new election, also force all nodes into recovery mode so Ronnie Sahlberg2007-05-101-0/+7
| | | | | | | | | | | | there is no internode traffic to interfere with our election (This used to be ctdb commit ccfb67a076c72a0e7f2b6dc5fce9c19f652ba2ad)
| * when starting recovery repoint dmaster to an invalid node and not the Ronnie Sahlberg2007-05-101-1/+1
| | | | | | | | | | | | current vnn (This used to be ctdb commit 3c2dcc7448b335cf42e8f7edffba21229dccbd79)
| * merge from tridgeRonnie Sahlberg2007-05-107-73/+133
| |\ | | | | | | | | | (This used to be ctdb commit 8c5e6836280499243c0cd247093844a891f00da3)
| * | actually check the remote nodes and not just the local nodeRonnie Sahlberg2007-05-101-2/+2
| | | | | | | | | | | | (This used to be ctdb commit 09df21be6361743d320fafc120718211eece85c3)
| * | merge from tridgeRonnie Sahlberg2007-05-102-4/+9
| |\ \ | | | | | | | | | | | | (This used to be ctdb commit 190cca8488dff982062ae7b1a82cb33cc1cdfaf7)
* | | | setup the random number generator a bit betterAndrew Tridgell2007-05-101-6/+6
| | | | | | | | | | | | | | | | (This used to be ctdb commit 708585eb0ed31b0df6543a1d7a20b82e751877c2)
* | | | remove old s3 recovery codeAndrew Tridgell2007-05-103-204/+5
| |_|/ |/| | | | | | | | | | | | | | fixed vnnmap wire format in recover daemon (This used to be ctdb commit e03fab7bfe0cf43f40c49a3d63e75dc44001d8d8)
* | | fixed setvnnmap to use wire structures tooAndrew Tridgell2007-05-102-7/+26
| | | | | | | | | | | | (This used to be ctdb commit 1208e4219d220b80e2f74974cac8ed2b8956d3ef)
* | | separate the wire format and internal format for the vnn_mapAndrew Tridgell2007-05-105-10/+47
| | | | | | | | | | | | (This used to be ctdb commit 9a71718d87c5162f1423d85c2e86a01f6771925e)
* | | moved the vnn_map initialisation out of the cmdline codeAndrew Tridgell2007-05-103-22/+20
| | | | | | | | | | | | (This used to be ctdb commit 81492b840d608dc724d5a25ddef6eb0ce12b95fb)
* | | merged ronnies code to delay client requests when in recovery modeAndrew Tridgell2007-05-101-0/+47
|\| | | |/ |/| | | (This used to be ctdb commit dfca37076d642f3407c63dfe3b685287d27c8f8d)
| * hang the event from the retry structure instead of the hdr structureRonnie Sahlberg2007-05-091-1/+1
| | | | | | | | (This used to be ctdb commit 8536c8c3a30a986ba4945d02aef82b47495ce3f8)