diff options
author | Paul Joseph Davis <davisp@apache.org> | 2011-09-28 03:44:25 +0000 |
---|---|---|
committer | Paul Joseph Davis <davisp@apache.org> | 2011-09-28 03:44:25 +0000 |
commit | 89a5c28775f24f2706f443c76afa3edf9df78ce4 (patch) | |
tree | 9f7379e679162407bb1df8851717ad62d258896b /rel/overlay/share/www/dialog/_compact_cleanup.html | |
parent | 86f113f9a0f3fdca02dfada0fa9854923b133a67 (diff) |
Rest of the fix for COUCHDB-1265
As a follow up to COUCHDB-1265 I was missing the fact that after the
insertion of a new update_seq into an internal node it is quite possible
that a compaction runs before the doc is updated again. This is
important because compaction removes information of the largest update
seq from the tree itself.
The fix is simple to include the update_seq from the #full_doc_info{}
record when calculating #doc_info.high_seq. The way to think of this
is that it's the maximum value from all known values for the update
sequence which can be defined as all values known in the tree or in the
full_doc_info record.
Backport of r1176701 from trunk
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1176704 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'rel/overlay/share/www/dialog/_compact_cleanup.html')
0 files changed, 0 insertions, 0 deletions