You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ei...@apache.org on 2020/02/21 17:53:54 UTC

[couchdb] branch prototype/flattened-doc-storage updated (1c97a07 -> ae3d86c)

This is an automated email from the ASF dual-hosted git repository.

eiri pushed a change to branch prototype/flattened-doc-storage
in repository https://gitbox.apache.org/repos/asf/couchdb.git.


 discard 1c97a07  Add migration from the old doc storage format
 discard 999686e  Use flattened JSON for store doc in fdb
 discard 3863f46  Fix invalid json object in fabric2_doc_crud test
 discard ba9a548  Add JSON explode/implode function
     add 17055f4  Encode startkey/endkey for all_docs (#2538)
     add 3556834  Fix doc attachment tests
     add bc52832  Track a database level view size rollup
     add ad066ab  Implement async API for `fabric2_fdb:get_info/1`
     add 416de8d  Implement `fabric2_db:list_dbs_info/1,2,3`
     add 31878f8  Support `GET /_dbs_info` endpoint
     add 148af9e  Implement mult-transactional iterators for _changes feeds
     add 81fa3ee  Use {restart_tx, false} option in view index builder changes feed
     add 8bb8e70  Remove attachment headers field
     add eb1a09e  Track the size of data stored in a database
     add c4bbae4  Add tests for database size tracking
     add 0292f0e  Convert versionstamps to binaries
     add e60ff85  Test coverage: list_dbs and list_dbs_info
     add dae118b  Test coverage: get_full_doc_info
     add 2b1a5d7  Test coverage: validate_dbname, validate_docid
     add 1fd40ce  Test coverage: apply_open_doc_opts
     add 1bceb55  Re-use changes feed main transaction when including docs
     add 951cfd1  Sync Makefile with master (#2566)
     add 1659a75  Add JSON explode/implode function
     add f48ad21  Fix invalid json object in fabric2_doc_crud test
     add 65688c4  Use flattened JSON for store doc in fdb
     add 98a4ae7  Add migration from the old doc storage format
     add ef10a24  Bit of refactoring in json_explode
     add ae3d86c  Flip Deleted in a doc key

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (1c97a07)
            \
             N -- N -- N   refs/heads/prototype/flattened-doc-storage (ae3d86c)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

No new revisions were added by this update.

Summary of changes:
 Makefile                                       | 131 ++--
 Makefile.win                                   | 188 +++--
 src/chttpd/src/chttpd_db.erl                   |  20 +-
 src/chttpd/src/chttpd_misc.erl                 |  49 +-
 src/couch/src/couch_att.erl                    |  39 +-
 src/couch/src/couch_doc.erl                    |   2 +-
 src/couch/src/couch_util.erl                   |  19 +-
 src/couch_views/src/couch_views_fdb.erl        |  17 +-
 src/couch_views/src/couch_views_indexer.erl    |   3 +-
 src/fabric/include/fabric2.hrl                 |  11 +-
 src/fabric/src/fabric2_db.erl                  | 118 +++-
 src/fabric/src/fabric2_fdb.erl                 | 376 ++++++++--
 src/fabric/src/fabric2_util.erl                |  65 +-
 src/fabric/test/fabric2_changes_fold_tests.erl | 241 +++++--
 src/fabric/test/fabric2_db_crud_tests.erl      |  60 +-
 src/fabric/test/fabric2_db_misc_tests.erl      | 162 +++++
 src/fabric/test/fabric2_db_size_tests.erl      | 918 +++++++++++++++++++++++++
 src/fabric/test/fabric2_doc_att_tests.erl      |   4 +-
 src/fabric/test/fabric2_doc_crud_tests.erl     | 103 ++-
 src/fabric/test/fabric2_doc_size_tests.erl     | 320 +++++++++
 src/fabric/test/fabric2_test.hrl               |   8 +
 test/elixir/test/all_docs_test.exs             |  53 +-
 22 files changed, 2532 insertions(+), 375 deletions(-)
 create mode 100644 src/fabric/test/fabric2_db_size_tests.erl
 create mode 100644 src/fabric/test/fabric2_doc_size_tests.erl