diff options
author | Krishnan Parthasarathi <kp@gluster.com> | 2011-10-18 17:57:44 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-07-19 09:03:48 -0700 |
commit | 00bd49b6c97b6b81fa55be3dc49459080d7c3b1b (patch) | |
tree | b8e7b37ad0d91e355b0b4fda61c0d222305460f0 /libglusterfs/src/stack.h | |
parent | 84a735558d2682446b2e45d97ff97e698ab2d256 (diff) |
glusterd: atomic store update.
All 'updates' to store are done in their respective tmp files and a rename to
their original copies is done in one pass. Failure to write or rename
successfully, promptly reduces the store's revision no., giving us an
opportunity to 'correct' it via peer 'detach-attach' operations, if need
be.
Change-Id: I44a33c41cb4d3d1cfbb455bc1f2f074d4f17dade
BUG: 765434
Signed-off-by: Krishnan Parthasarathi <kp@gluster.com>
Reviewed-on: http://review.gluster.com/654
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Amar Tumballi <amarts@redhat.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'libglusterfs/src/stack.h')
0 files changed, 0 insertions, 0 deletions