summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Farnum <greg@inktank.com>2013-09-04 10:10:03 -0700
committerGreg Farnum <greg@inktank.com>2013-09-04 10:10:03 -0700
commitf566102c3cdb93092db49f22bca0455d5a992e9d (patch)
tree5ebcc5601914eafcf7d7936b6456ccc9784e4d57
parentb56af552436f1a3e282c090acb5ae53b8f04f841 (diff)
downloadceph-f566102c3cdb93092db49f22bca0455d5a992e9d.tar.gz
doc: remove 'Unexpected indentation' from versions doc.
Signed-off-by: Greg Farnum <greg@inktank.com>
-rw-r--r--doc/dev/versions.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/dev/versions.rst b/doc/dev/versions.rst
index 4fc4d8a12b2..f7da768f119 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