You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2017/09/08 21:25:21 UTC
[couchdb] branch compactor-optimize-emsort updated: Fix old size
info upgrade
This is an automated email from the ASF dual-hosted git repository.
davisp pushed a commit to branch compactor-optimize-emsort
in repository https://gitbox.apache.org/repos/asf/couchdb.git
The following commit(s) were added to refs/heads/compactor-optimize-emsort by this push:
new d0b36da Fix old size info upgrade
d0b36da is described below
commit d0b36da0f34c98c3f44a128d140c3f19d6dd4979
Author: Paul J. Davis <pa...@gmail.com>
AuthorDate: Fri Sep 8 16:25:11 2017 -0500
Fix old size info upgrade
---
src/couch/src/couch_db_updater.erl | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/couch/src/couch_db_updater.erl b/src/couch/src/couch_db_updater.erl
index 7fc344e..4786ee7 100644
--- a/src/couch/src/couch_db_updater.erl
+++ b/src/couch/src/couch_db_updater.erl
@@ -1511,8 +1511,11 @@ verify_compaction(#comp_st{old_db = OldDb, new_db = NewDb} = CompSt) ->
{
OldDocCount,
OldDelDocCount,
- #size_info{external = OldExternalSize}
+ OldSizes
} = OldIdReds0,
+ #size_info{
+ external = OldExternalSize
+ } = upgrade_sizes(OldSizes),
OldIdReds = {OldDocCount, OldDelDocCount, OldExternalSize},
{
NewDocCount,
--
To stop receiving notification emails like this one, please contact
['"commits@couchdb.apache.org" <co...@couchdb.apache.org>'].