From: Greg Farnum Date: Wed, 4 Sep 2013 17:10:03 +0000 (-0700) Subject: doc: remove 'Unexpected indentation' from versions doc. X-Git-Tag: v0.71~182 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f566102c3cdb93092db49f22bca0455d5a992e9d;p=ceph.git doc: remove 'Unexpected indentation' from versions doc. Signed-off-by: Greg Farnum --- diff --git a/doc/dev/versions.rst b/doc/dev/versions.rst index 4fc4d8a12b26..f7da768f1195 100644 --- a/doc/dev/versions.rst +++ b/doc/dev/versions.rst @@ -13,11 +13,11 @@ user_at_version is modified only in ReplicatedPG::prepare_transaction when the op was a "user modify" (a non-watch write), and the durable user_version is updated according to the following rules: 1) set user_at_version to the maximum of ctx->new_obs.oi.user_version+1 - and info.last_user_version+1. +and info.last_user_version+1. 2) set user_at_version to the maximum of itself and - ctx->at_version.version. +ctx->at_version.version. 3) ctx->new_obs.oi.user_version = ctx->user_at_version (to change the - object's user_version) +object's user_version) This set of update semantics mean that for traditional pools the user_version will be equal to the past reassert_version, while for