Commit Graph

1023 Commits

Author SHA1 Message Date
Thomas Schoebel-Theuer
9d86cb679b all: fix inconsistent terminology apply->replay
In most cases, "replay" was already used. So it is easier
to switch the rare "apply" wording to "replay" everywhere (hopefully).
2014-03-19 11:30:24 +01:00
Thomas Schoebel-Theuer
1cb78bae47 marsadm: fix warning 2014-03-19 11:30:24 +01:00
Thomas Schoebel-Theuer
a43181a84f marsadm: fix split brain detection 2014-03-19 11:30:24 +01:00
Thomas Schoebel-Theuer
1715b4fd40 marsadm: fix recursion depth of _get_common_ancestor() 2014-03-19 11:30:24 +01:00
Thomas Schoebel-Theuer
0d5349b2ca marsadm: fix transitive closure for log_purge_res() 2014-03-19 11:30:24 +01:00
Thomas Schoebel-Theuer
2ec9800d54 marsadm: fix leave-resource 2014-03-19 11:30:24 +01:00
Thomas Schoebel-Theuer
a16875fcfe marsadm: prevent only _new_ split brains 2014-03-19 11:30:24 +01:00
Thomas Schoebel-Theuer
e78d0a3078 light: fix peer preferences, use connect-* links 2014-03-19 11:30:24 +01:00
Thomas Schoebel-Theuer
0e53f48951 light: fix logfile fetch from multiple peers 2014-03-19 11:30:24 +01:00
Thomas Schoebel-Theuer
223467f37f marsadm: disallow intended primary switch when secondaries are syncing 2014-03-19 11:30:24 +01:00
Thomas Schoebel-Theuer
59cce71e2d marsadm: fix fake_versionlink()
Always fake two versionslinks instead of one.
2014-03-19 11:30:24 +01:00
Thomas Schoebel-Theuer
e5a558aefe light: fix marker check
The old code was not portable across changes of CL_*
2014-03-19 11:30:24 +01:00
Thomas Schoebel-Theuer
56f38641ff infra: fix/remove buggy d_{name,path}len
In rare cases, this could lead to buffer overflows.
Replace buggy concept from the prototype phase with more
robust (although slightly less performant) code.
2014-03-19 11:30:24 +01:00
Thomas Schoebel-Theuer
6d78a7bc8d light: do deletions only once 2014-03-19 11:30:23 +01:00
Thomas Schoebel-Theuer
528b72b0c0 light: fix potential race on deletions 2014-03-19 11:30:23 +01:00
Thomas Schoebel-Theuer
166255ca68 light: fix deletion logic 2014-03-19 11:30:23 +01:00
Thomas Schoebel-Theuer
3acb6a02fe infra: fix removal of stale directories 2014-03-19 11:30:23 +01:00
Thomas Schoebel-Theuer
5d2a682cfd infra: fix readlink() for very long paths 2014-03-19 11:30:23 +01:00
Thomas Schoebel-Theuer
012292677c light: fix string memleak 2014-03-19 11:30:23 +01:00
Thomas Schoebel-Theuer
3e9aae53c8 all: fix potential buffer overflows, use vscnprintf() 2014-03-19 11:30:23 +01:00
Thomas Schoebel-Theuer
e6abaaa161 light: fix potential endless loop 2014-03-19 11:30:23 +01:00
Thomas Schoebel-Theuer
bd9b46fc05 infra: fix forgotten locking 2014-03-19 11:30:23 +01:00
Thomas Schoebel-Theuer
7cd1281d2c light: fix potential flaw in primary switching 2014-03-19 11:30:22 +01:00
Thomas Schoebel-Theuer
b32927a20d light: fix race in logfile switching 2014-03-19 11:30:22 +01:00
Thomas Schoebel-Theuer
f45c3fbdd3 aio: use aio_sync_mode=2 by default 2014-03-19 11:30:22 +01:00
Thomas Schoebel-Theuer
64e75d404a all: release light0.1beta0.16 (bugfix release) 2014-02-07 10:22:51 +01:00
Thomas Schoebel-Theuer
36a433a5ef Merge remote-tracking branch 'fliepold/WIP-test_suite' 2014-02-07 10:19:52 +01:00
Thomas Schoebel-Theuer
03b6136fb7 doc: update 2014-02-07 10:18:36 +01:00
Thomas Schoebel-Theuer
dc535711c8 marsadm: fix leave-resource --force 2014-02-07 09:11:07 +01:00
Joerg Mann
cdf8d61499 monitoring: updates 2014-02-06 07:15:10 +01:00
Thomas Schoebel-Theuer
4c36e803f3 marsadm: add --ip=, fix IP detection 2014-02-06 07:15:09 +01:00
Frank Liepold
77a460a0eb test_suite: fix too early ssh after succeeding ping 2014-02-05 10:56:49 +01:00
Frank Liepold
e38d873564 test_suite: separation of frame work and use case mars
The mars test cases are now located in .../test_suite/mars.
The use case .../test_suite/example describes how the frame work works (please
refer to README).
mars_test_cronjob.sh have a second parameter which specifies the use case
directory (.../test_suite/mars).
The leading numbers in the module numbers are no longer needed.
2014-02-05 08:48:42 +01:00
Frank Liepold
f9d42097c8 test_suite: refactoring 2014-02-05 08:48:42 +01:00
Frank Liepold
5857f7b148 test_suite: renaming 2014-02-05 08:48:42 +01:00
Frank Liepold
f46383e0af test_suite: fix: use primary --force if network is cut yet 2014-02-05 08:48:42 +01:00
Frank Liepold
3a7ac7aab1 test_suite: more and better debug 2014-02-05 08:48:42 +01:00
Frank Liepold
0b9e671bfe test_suite: fix debug message 2014-02-05 08:48:42 +01:00
Frank Liepold
bdf75cf44a test_suite: check equality of replay links if both resource should be uptodate 2014-02-05 08:48:41 +01:00
Frank Liepold
8a8b72b96a test_suite: try to fix repair strategy for destroyed secondary. More debugging output 2014-02-05 08:48:41 +01:00
Frank Liepold
b6e8254a64 test_suite: add debug output 2014-02-05 08:48:41 +01:00
Frank Liepold
9d20793a02 test_suite: new test case 2014-02-05 08:48:41 +01:00
Frank Liepold
32c9ac2db3 test_suite: fix: destroy must wait for apply to stop and proceed to next logfile if necessary. 2014-02-05 08:48:41 +01:00
Frank Liepold
bf81056d2d test_suite: fix correct split brain and recreate resource 2014-02-05 08:48:41 +01:00
Frank Liepold
3a4a0df5ba test_suite: deactivate test case 2014-02-05 08:48:41 +01:00
Frank Liepold
6a8468ad63 test_suite: fix: kill all running test scripts even in resource_quick_prepare_first_resource 2014-02-05 08:48:41 +01:00
Frank Liepold
5a3dd45384 test_suite: make the existence of file i_am_a_testdirectory the only criterion to identify a test directory 2014-02-05 08:48:41 +01:00
Frank Liepold
a6665922b2 test_suite: use a marker file as only criterion to identify a test directory 2014-02-05 08:48:41 +01:00
Frank Liepold
506397397e test_suite: fix marsadm wait for connection during network failure 2014-02-05 08:48:41 +01:00
Frank Liepold
d3615e74e4 test_suite: fix: remove hidden files, too. 2014-02-05 08:48:41 +01:00