diff options
author | Sage Weil <sage@newdream.net> | 2012-03-02 18:44:04 +0100 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2012-03-02 18:50:11 +0100 |
commit | cacf0fdec8189f90b0af81e9ef03f707d8c0d02c (patch) | |
tree | 799059fa36b961a639d14d9b39a5acc24885be6c /doc | |
parent | Merge remote branch 'gh/wip_fs_omap' (diff) | |
download | ceph-cacf0fdec8189f90b0af81e9ef03f707d8c0d02c.tar.xz ceph-cacf0fdec8189f90b0af81e9ef03f707d8c0d02c.zip |
filestore: fix rollback safety check
There is a window in the old check between when current/commit_op_seq is
written and the snapshot is taken. If ceph-osd crashes, we'll be unable to
start because we'll believe current/ was in use without proper checkpoints.
Instead, make the snapped/not snapped state of current/ explicit.
Fixes: #2118
Signed-off-by: Sage Weil <sage@newdream.net>
Reviewed-by: Samuel Just <samuel.just@dreamhost.com>
Reviewed-by: Yehuda Sadeh <yehuda.sadeh@dreamhost.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions