Skip to content

Commit

Permalink
avoiding _, wrapping key terms in pre instead of quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhunter committed Apr 1, 2011
1 parent f784254 commit ba3f089
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions Gemfile.lock
Expand Up @@ -7,9 +7,9 @@ GEM
github-markup (0.5.1)
gollum (1.1.0)
albino (~> 1.0)
github-markup (>= 0.4.0, < 1.0.0)
github-markup (< 1.0.0, >= 0.4.0)
grit (~> 2.3)
mustache (>= 0.11.2, < 1.0.0)
mustache (< 1.0.0, >= 0.11.2)
nokogiri (~> 1.4)
sanitize (~> 1.1)
sinatra (~> 1.0)
Expand Down
File renamed without changes
26 changes: 13 additions & 13 deletions pages/Vector-clocks.md
Expand Up @@ -22,10 +22,10 @@ divergent changesets in an application specific manner.
Riak regularly prunes vector clocks based on four parameters which can
be set per bucket. These parameters are:

* small_vclock
* big_vclock
* young_vclock
* old_vclock
* `small_vclock`
* `big_vclock`
* `young_vclock`
* `old_vclock`

To understand what these parameters do let's first review the
structure of a vector clock. Vector clocks are a list of updates made
Expand All @@ -38,18 +38,18 @@ The above vector clock would indicate that client1 updated the object
object 2 times. Timestamp data is also stored in the vector clock but
omitted from the example for simplicity.

The "small_vclock" and "big_vclock" parameters refer to the length of
The `small_vclock` and `big_vclock` parameters refer to the length of
the vector clock list. If the length of the list is smaller than
"small_vclock" it will not be pruned. If the length is greater than
"big_vclock" it will be pruned.
`small_vclock` it will not be pruned. If the length is greater than
`big_vclock` it will be pruned.

[[/attachments/vclock_pruning.png|align=center]]
[[/attachments/vclock-pruning.png|align=center]]

The "young_vclock" and "old_vclock" parameters refer to the timestamp
per vclock entry. If the list length is between "small_vclock" and
"big_vclock" the age of each entry is checked. If the entry is younger
than "young_vclock" it is not pruned. If the entry is older than
"old_vclock" than it is pruned.
The `young_vclock` and `old_vclock` parameters refer to the timestamp
per vclock entry. If the list length is between `small_vclock` and
`big_vclock` the age of each entry is checked. If the entry is younger
than `young_vclock` it is not pruned. If the entry is older than
`old_vclock` than it is pruned.

## More Information

Expand Down

0 comments on commit ba3f089

Please sign in to comment.