Thomas Schoebel-Theuer
281c371d49
make mem allocation more robust
2013-01-20 23:23:46 +01:00
Thomas Schoebel-Theuer
94fa1e3a68
fix wrong switching of mars_copy
2013-01-20 23:23:46 +01:00
Thomas Schoebel-Theuer
76140e6c23
mutual exclusion between sync & logfile-apply
2013-01-20 23:23:46 +01:00
Thomas Schoebel-Theuer
340302e92d
fix internal state hang in mars_copy
2013-01-20 23:23:46 +01:00
Thomas Schoebel-Theuer
81da8a0c1d
fix replay logfile turnover (sometimes was too fast)
2013-01-20 23:23:45 +01:00
Thomas Schoebel-Theuer
25e38417c5
fixed minor problem with say()
2013-01-20 23:23:44 +01:00
Thomas Schoebel-Theuer
92a4684692
workaround for rare race condition in trans_logger
2013-01-20 23:23:44 +01:00
Thomas Schoebel-Theuer
fd5c6abc6c
reanimate some unused old code, only for debugging
2013-01-20 23:23:44 +01:00
Thomas Schoebel-Theuer
97ffc5d3b3
cleanup header files and macros
2013-01-20 23:23:43 +01:00
jmann
c9690d2c19
readd mars-status.pl
2013-01-20 23:23:43 +01:00
jmann
2a5b6b59a7
modified: ../.gitattributes
2013-01-20 23:23:43 +01:00
jmann
bde90c7691
add Gitt commands to mars-status.pl
2013-01-20 23:23:43 +01:00
jmann
df22f6bc58
add mars-status
2013-01-20 23:23:43 +01:00
Thomas Schoebel-Theuer
6d9975bc66
fix NULL ptr dereference in set_recursive_button()
2013-01-20 23:23:43 +01:00
Thomas Schoebel-Theuer
0e21a911a2
fix hang of callback thread in server
2013-01-20 23:23:42 +01:00
Thomas Schoebel-Theuer
f28d439dfb
create faked versionlinks upon late join-resource
2013-01-20 23:23:42 +01:00
Thomas Schoebel-Theuer
54f9334643
better --force handling
2013-01-20 23:23:42 +01:00
Thomas Schoebel-Theuer
e550c2b8a6
yet another fix for logfile propagation
2013-01-20 23:23:42 +01:00
Thomas Schoebel-Theuer
92d9778dd7
fix race on primary switchover
...
solution: wait until all in /mars/resouce-*/ has stabilized
for 60s and all known logfiles have been migrated.
This more a workaround than a solution and should be fixed
in MARS FULL.
2013-01-20 23:23:41 +01:00
Thomas Schoebel-Theuer
8fe9b696aa
fix another logfile update problem
2013-01-20 23:23:41 +01:00
Thomas Schoebel-Theuer
58f6981806
fix hang of remote logfile update
...
appending to logfile did not update copy_end_pos, so the copy
brick never switched off.
2013-01-20 23:23:41 +01:00
Thomas Schoebel-Theuer
81bfb9471a
fix network race on primary/secondary switch
...
The race could lead to unnecessary split brain.
Now we wait until everything in the resource directory became stable
for at least 60 seconds. This may be somewhat too conservative
when having k>2 participants on the same resource.
2013-01-20 23:23:41 +01:00
Thomas Schoebel-Theuer
fd0309fee9
log symlink creation
2013-01-20 23:23:41 +01:00
Thomas Schoebel-Theuer
a32b4a9e7a
make dentry update less verbose
2013-01-20 23:23:41 +01:00
Thomas Schoebel-Theuer
b9b14577fb
fix incomplete propagation of dentries
2013-01-20 23:23:41 +01:00
Thomas Schoebel-Theuer
ba9c9b725c
oops, wrong value
2013-01-20 23:23:41 +01:00
Thomas Schoebel-Theuer
de11fbfc13
add indicator for rest space: /mars/rest-space-*
2013-01-20 23:23:41 +01:00
Thomas Schoebel-Theuer
cc6b43a5a1
make exhaust limit for /mars/ configurable
2013-01-20 23:23:40 +01:00
Thomas Schoebel-Theuer
2f9d86b994
rename /proc/sys/mars to /proc/sys/mars/trigger
...
create basis for adding more entries to /proc/sys/mars/
2013-01-20 23:23:40 +01:00
Thomas Schoebel-Theuer
bd55c058e1
replicate /mars/exhaused-* to all peers
2013-01-20 23:23:40 +01:00
Thomas Schoebel-Theuer
358d968260
stop all work when /mars/ is exhausted
2013-01-20 23:23:40 +01:00
Thomas Schoebel-Theuer
4016261bae
never switch over logfiles when /mars/ is exhausted
2013-01-20 23:23:40 +01:00
Thomas Schoebel-Theuer
d16978d445
add /mars/exhausted-* symlinks (space on /mars/)
2013-01-20 23:23:40 +01:00
Thomas Schoebel-Theuer
18cf152941
fix network hang by timeout in client
2013-01-20 23:23:39 +01:00
Thomas Schoebel-Theuer
ae12c25267
fix spurious mem allocation failure
2013-01-20 23:23:39 +01:00
Thomas Schoebel-Theuer
b25d5a84a8
fix crash in mars_copy (wait for IO completion)
2013-01-20 23:23:39 +01:00
Thomas Schoebel-Theuer
67c7e646d2
fix crash in server, added statistics
2013-01-20 23:23:39 +01:00
Thomas Schoebel-Theuer
74354dd9ff
fix crashes in server
2013-01-20 23:23:39 +01:00
Thomas Schoebel-Theuer
472da6628c
fix stall on socket shutdown once again
2013-01-20 23:23:39 +01:00
Thomas Schoebel-Theuer
dcc2865682
fix crash on server exit
2013-01-20 23:23:38 +01:00
Thomas Schoebel-Theuer
5beafc0e4b
fix hang on remote socket shutdown
2013-01-20 23:23:38 +01:00
Thomas Schoebel-Theuer
f949ca7873
fix socket options
2013-01-20 23:23:38 +01:00
Thomas Schoebel-Theuer
e7f3ee69ba
add automatic socket shutdown on errors
2013-01-20 23:23:38 +01:00
Thomas Schoebel-Theuer
2440176bda
improve network propagation
2013-01-20 23:23:37 +01:00
Thomas Schoebel-Theuer
e3bfbab1a9
speedup overall handling a lot
2013-01-20 23:23:33 +01:00
Thomas Schoebel-Theuer
6ebf3147a1
Merge branch 'master' of ssh://git.schlund.de/tst/mars
2013-01-20 23:23:33 +01:00
Ulrich Goettlich
cc0398917c
modified prepatch (removed changes in init-mm.c as they are not needed anymore)
2013-01-20 23:23:33 +01:00
Thomas Schoebel-Theuer
465d24d7d8
fix versionlink computation / switchover check
2013-01-20 23:23:32 +01:00
Thomas Schoebel-Theuer
001be846b8
fix replay stalls caused by bad replaylink update
2013-01-20 23:23:32 +01:00
Thomas Schoebel-Theuer
0421cbd372
fixed races on replaylink/versionlink creation
2013-01-20 23:23:32 +01:00