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 2020/03/02 17:14:45 UTC

[couchdb] branch prototype/fdb-layer-rebase updated (6a966c8 -> deb6371)

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

davisp pushed a change to branch prototype/fdb-layer-rebase
in repository https://gitbox.apache.org/repos/asf/couchdb.git.


 discard 6a966c8  Add fdb_to_revinfo version compatibility unit test
 discard e21389e  Fix bug in fdb_to_revinfo compatibility clauses
 discard 7b3db76  Add fdb_to_revinfo compatibility with 5-tuple Val
 discard 2dbec8f  Do not use the ddoc cache to load _changes filter design documents
 discard 5c3ab98  Support setting base_url in Couch test helper (take 2)
 discard 3a09744  Add 410 status code to stats_descriptions
 discard ae3978d  Improve validate_dbname test
 discard d89fead  Let couch_jobs use its own metadata key
 discard 1e00d19  Handle spurious 1009 (future_version) errors in couch_jobs pending
 discard abb6299  Re-use changes feed main transaction when including docs
 discard 4832361  Test coverage: apply_open_doc_opts
 discard dfbc6cb  Test coverage: validate_dbname, validate_docid
 discard 81bd097  Test coverage: get_full_doc_info
 discard 5249177  Test coverage: list_dbs and list_dbs_info
 discard e7c4063  Convert versionstamps to binaries
 discard a0a9ee1  Add tests for database size tracking
 discard 12982b1  Track the size of data stored in a database
 discard f5fddc6  Remove attachment headers field
 discard f142dd7  Use {restart_tx, false} option in view index builder changes feed
 discard 85b90f3  Implement mult-transactional iterators for _changes feeds
 discard fa051f3  Support `GET /_dbs_info` endpoint
 discard ee1bd7d  Implement `fabric2_db:list_dbs_info/1,2,3`
 discard 137feae  Implement async API for `fabric2_fdb:get_info/1`
 discard 7afd10e  Track a database level view size rollup
 discard f74289e  Fix doc attachment tests
 discard 5d78f87  Encode startkey/endkey for all_docs (#2538)
 discard 3e76563  Add basic test case for b3 fix
 discard 9d51a37  fix b3 - Headers suppose to be strings
 discard d0a4553  Support jaeger http reporter
 discard 45f82ba  reserve search namespace
 discard b8d2ca3  Delete unused ets table creation
 discard 2b53630  Change map indexes to be stored in one row
 discard 4ac32d2  Add `external`  tag to opentrace events
 discard bd7053f  Improve transaction name setting when tracing FDB transactions
 discard 153b3d0  Expiring cache
 discard 3d7e73e  Delete attachments when no longer referenced
 discard f39818f  Normalize fabric2 test suite
 discard d58d1d9  Retry for failed indexes builds
 discard 02b0376  Optimize view read latency when the view ready
 discard 6c9b155  Change end-point /_up to check fdb connectivity
 discard 38fab07  Add operation names for all HTTP endpoints
 discard 26b5f25  Implement node types
 discard 4b16fd1  Trace fdb transactions
 discard 2033146  Trace http endpoints
 discard 0ba4540  Add ctrace application
 discard 15403ec  Implement fabric2_server:fdb_cluster/0
 discard 7ed018e  Support regexp based blacklist in config
 discard 47fac35  Check membership when calling get_security/1 in fabric2_db
 discard 411a643  Assert Db handle field existence in `load_config/1` in fabric2_fdb
 discard 524fcc9  Update fabric2_fdb's set_config to take un-encoding values
 discard b2c07db  Before starting a db transanction, refresh the db handle from the cache
 discard a81d8c3  Check security properties in the main transaction
 discard c2aa163  Ensure we can create partitioned design docs with FDB
 discard cc9be7f  Pass contexts to fabric2_db functions
 discard 19c21af  Abandon a view job if the db or ddoc is deleted
 discard d221e1a  Use "\xFF/metadataVersion" key for checking metadata
 discard c15f52e  add test to prove we can view swap
 discard a209f29  Add a special error for an invalid legacy local doc revsion
 discard faa075f  Chunkify local docs
 discard c9dfc48  Remove compiler warning
 discard e4c9428  Take better advantage of metadata version key feature
 discard 5bd280c  Enable FDB transaction tracing
 discard ed17def  Use a shorter name for create_or_open_couchdb_dir
 discard 54edb49  DRY out CouchDB FDB prefix fetching
 discard e0f2d15  Fix timeout in couch_views
 discard f033f2e  Fix mango index validation
 discard d939005  Update couch_views to use couch_eval
 discard ee263a8  Add tests for couch_js application
 discard 5f98573  Implement couch_js callbacks for couch_eval
 discard 37e2ac5  Initial creation of couch_js application
 discard fd44205  Add couch_eval abstraction layer
 discard 181f1e6  Add more deleted docs replication cases to integration test
 discard 29568bb  Fix doc counts for replicated deletions
 discard b3eb111  Add revision stemming for interactive docs
 discard 3c150c7  Check members after db is opened
 discard 5011721  Make get_security and get_revs_limit calls consistent
 discard 735b53d  Implement setting and getting _revs_limit
 discard 57e4d53  Fix _changes heartbeat option
 discard ef36cc2  Fetch docs in parallel for view indexing
 discard 815d159  Handle _changes since=now param
 discard 86536e4  Handle update_seq for _local_docs
 discard 9e77bbe  Add a max db name length config option
 discard 25725f9  Implement _design_docs and _local_docs
 discard 7c4c95f  Implement _all_docs/queries
 discard e868b26  Fix starkey_docid, endkey_docid and inclusive_end=false for _all_docs
 discard 1a04da3  Remove debug logging in fabric2_db_plugin
 discard ebfbaba  Skip before_doc_update processing for local docs
 discard 7a7e745  Fix couch_views encoding test
 discard 1da708d  Move fabric2_dir_prefix_tests to test directory
 discard 7d88fa7  Implement update_seq for couch_views
 discard d5655ed  Open dbs with admin privileges in couch_views_indexer
 discard ce4e7b6  Fix DB reopen behavior
 discard abd1d07  Implement fabric2_db EPI plugin
 discard 9b590ff  add trace test for couch_views
 discard 81061cd  Add timeout for 'fold_docs-with_different_keys' test
 discard aaded2d  only fetch 1 query server for indexing
 discard 64e8206  Configurable FDB directory prefixes for CouchDB instances
 discard 5ce5a17  Remember to remove old doc bodies
 discard 606d781  Write large documents in chunks
 discard 6522f84  Update to use new fold_range_future/wait functions
 discard c169522  Fix job handling to halt on errors
 discard 1ec9d15  CouchDB map indexes on FDB
 discard 00ac805  Fix default key ranges for fold_range
 discard b4ebb06  Expose the is_replicator_db and is_user_db logic
 discard 08413f9  Make fabric2.hrl public
 discard 58b6578  Fix more elixir tests
 discard e6c75e0  Expose ICU ucol_getSortKey
 discard 861ea21  Disable broken couch_att tests
 discard 30ec3cc  Reinitialize chttpd_auth_cache on config change
 discard 134b46c  Fix formatting of all_docs_test.exs
 discard 50e0820  Implement `POST /_dbs_info`
 discard 662fe1c  Fix revision tree extensions
 discard 2fd8b96  Fix `COPY` method
 discard 50b8f83  Fix bulk docs error reporting
 discard 8371446  Implement _all_dbs/_all_docs API parameters
 discard a9c08d1  Remove tests for deprecated features.
 discard 6e704d6  CouchDB background jobs
 discard d1495f9  Fix exception in cache auth doc update
 discard 2eb36ba  Fix arity in changes timeout callback
 discard b6e2302  Update get security to use fabric2
 discard e026302  Implement `_users` db authentication
 discard adbb8b1  Database config changes should bump the db version
 discard 8014620  Fix validate_doc_update when recreating a document
 discard a89163f  Allow for previously configured filters
 discard 6fd1510  Convert attachment info to disk terms correctly
 discard e303b0e  Fix revision generation on attachment upload
 discard 6e1128e  Fix fabric2_txids:terminate/2
 discard d8a152c  Implement attachment compression
 discard 4ed0667  Remove debug logging
 discard 95eb28f  Start switching chttpd HTTP endpoints to fabric2
     add 090c3b8  Start switching chttpd HTTP endpoints to fabric2
     add b79658e  Remove debug logging
     add 313ae05  Implement attachment compression
     add e196cd3  Fix fabric2_txids:terminate/2
     add 892c744  Fix revision generation on attachment upload
     add 5135d35  Convert attachment info to disk terms correctly
     add fb6f2e8  Allow for previously configured filters
     add 2adc853  Fix validate_doc_update when recreating a document
     add a350503  Database config changes should bump the db version
     add aabb449  Implement `_users` db authentication
     add 3c7b0e0  Update get security to use fabric2
     add c815195  Fix arity in changes timeout callback
     add e154188  Fix exception in cache auth doc update
     add fc0bef8  CouchDB background jobs
     add c75225a  Remove tests for deprecated features.
     add 581e693  Implement _all_dbs/_all_docs API parameters
     add 0c08ad1  Fix bulk docs error reporting
     add 9e177bd  Fix `COPY` method
     add 5c80c92  Fix revision tree extensions
     add 6b6365d  Implement `POST /_dbs_info`
     add f0ce176  Fix formatting of all_docs_test.exs
     add 4d622b3  Reinitialize chttpd_auth_cache on config change
     add ab1d2bb  Disable broken couch_att tests
     add 83b8f63  Expose ICU ucol_getSortKey
     add 304d97a  Fix more elixir tests
     add 5c4d11d  Make fabric2.hrl public
     add 60d5d47  Expose the is_replicator_db and is_user_db logic
     add 1edc2aa  Fix default key ranges for fold_range
     add d95ed3e  CouchDB map indexes on FDB
     add c1a789f  Fix job handling to halt on errors
     add b19a2ea  Update to use new fold_range_future/wait functions
     add 3515c2a  Write large documents in chunks
     add be8b348  Remember to remove old doc bodies
     add 68a7d76  Configurable FDB directory prefixes for CouchDB instances
     add 9fde4f5  only fetch 1 query server for indexing
     add 974dd7c  Add timeout for 'fold_docs-with_different_keys' test
     add 14c8c67  add trace test for couch_views
     add 147cc59  Implement fabric2_db EPI plugin
     add 26745bf  Fix DB reopen behavior
     add ebf408f  Open dbs with admin privileges in couch_views_indexer
     add b324e7f  Implement update_seq for couch_views
     add 1c96d4a  Move fabric2_dir_prefix_tests to test directory
     add 567d113  Fix couch_views encoding test
     add 21e98ee  Skip before_doc_update processing for local docs
     add 483aebf  Remove debug logging in fabric2_db_plugin
     add 1b086a1  Fix starkey_docid, endkey_docid and inclusive_end=false for _all_docs
     add 983f840  Implement _all_docs/queries
     add d2805b6  Implement _design_docs and _local_docs
     add 48a15e1  Add a max db name length config option
     add 144f617  Handle update_seq for _local_docs
     add 03840c4  Handle _changes since=now param
     add 6269cf5  Fetch docs in parallel for view indexing
     add 2aafd16  Fix _changes heartbeat option
     add 6f2400f  Implement setting and getting _revs_limit
     add 7eca0c4  Make get_security and get_revs_limit calls consistent
     add 2abdf55  Check members after db is opened
     add 746c42c  Add revision stemming for interactive docs
     add 38112d6  Fix doc counts for replicated deletions
     add d848604  Add more deleted docs replication cases to integration test
     add c327c08  Add couch_eval abstraction layer
     add 147057f  Initial creation of couch_js application
     add 325ad31  Implement couch_js callbacks for couch_eval
     add b1e78de  Add tests for couch_js application
     add 4cd2861  Update couch_views to use couch_eval
     add e87a772  Fix mango index validation
     add d393253  Fix timeout in couch_views
     add e7720be  DRY out CouchDB FDB prefix fetching
     add 4f5e650  Use a shorter name for create_or_open_couchdb_dir
     add f98064a  Enable FDB transaction tracing
     add ab8adfe  Take better advantage of metadata version key feature
     add 5b4dfb3  Remove compiler warning
     add 844c434  Chunkify local docs
     add db6ec67  Add a special error for an invalid legacy local doc revsion
     add c120690  add test to prove we can view swap
     add 833dec3  Use "\xFF/metadataVersion" key for checking metadata
     add 96d8a04  Abandon a view job if the db or ddoc is deleted
     add a5b4389  Pass contexts to fabric2_db functions
     add c281aa1  Ensure we can create partitioned design docs with FDB
     add aa9e3c2  Check security properties in the main transaction
     add 3d844e8  Before starting a db transanction, refresh the db handle from the cache
     add 5aed07f  Update fabric2_fdb's set_config to take un-encoding values
     add 71bbc2e  Assert Db handle field existence in `load_config/1` in fabric2_fdb
     add f6dc2c3  Check membership when calling get_security/1 in fabric2_db
     add c1cf84b  Support regexp based blacklist in config
     add a8c2d07  Implement fabric2_server:fdb_cluster/0
     add a53a52f  Add ctrace application
     add 3611ff5  Trace http endpoints
     add 6861465  Trace fdb transactions
     add 474f5ab  Implement node types
     add 2ca6352  Add operation names for all HTTP endpoints
     add 85db01a  Change end-point /_up to check fdb connectivity
     add de25f77  Optimize view read latency when the view ready
     add 43ad3b4  Retry for failed indexes builds
     add ce09c17  Normalize fabric2 test suite
     add 1cfdea7  Delete attachments when no longer referenced
     add 40833ad  Expiring cache
     add 7916e2e  Improve transaction name setting when tracing FDB transactions
     add 80cd9ef  Add `external`  tag to opentrace events
     add db32026  Change map indexes to be stored in one row
     add bd38344  Delete unused ets table creation
     add 2fd1048  reserve search namespace
     add b721227  Support jaeger http reporter
     add 3cd4028  fix b3 - Headers suppose to be strings
     add be3b94b  Add basic test case for b3 fix
     add 9eb2a1c  Encode startkey/endkey for all_docs (#2538)
     add 39c54e6  Fix doc attachment tests
     add 0dfa5af8 Track a database level view size rollup
     add 08e9a61  Implement async API for `fabric2_fdb:get_info/1`
     add b074430  Implement `fabric2_db:list_dbs_info/1,2,3`
     add f273750  Support `GET /_dbs_info` endpoint
     add d79e867  Implement mult-transactional iterators for _changes feeds
     add ba52add  Use {restart_tx, false} option in view index builder changes feed
     add 719fc9f  Remove attachment headers field
     add c9941f0  Track the size of data stored in a database
     add 8a2598e  Add tests for database size tracking
     add 4f863c6  Convert versionstamps to binaries
     add 07bb660  Test coverage: list_dbs and list_dbs_info
     add 385a436  Test coverage: get_full_doc_info
     add 5b2bc9c  Test coverage: validate_dbname, validate_docid
     add 8eaa107  Test coverage: apply_open_doc_opts
     add b911c61  Re-use changes feed main transaction when including docs
     add 8e15d13  Handle spurious 1009 (future_version) errors in couch_jobs pending
     add 2c0de0a  Let couch_jobs use its own metadata key
     add 3a232c5  Improve validate_dbname test
     add aba02c7  Add 410 status code to stats_descriptions
     add 8fb660c  Support setting base_url in Couch test helper (take 2)
     add 9d059f9  Do not use the ddoc cache to load _changes filter design documents
     add b46179f  Add fdb_to_revinfo compatibility with 5-tuple Val
     add 41a071b  Fix bug in fdb_to_revinfo compatibility clauses
     add e463af9  Add fdb_to_revinfo version compatibility unit test
     add 12bac4a  Fix catching of Jiffy error exceptions
     add deb6371  Temporary shortcut to running the fdb test suite

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   (6a966c8)
            \
             N -- N -- N   refs/heads/prototype/fdb-layer-rebase (deb6371)

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                                 |   5 +
 src/chttpd/src/chttpd_changes.erl        | 324 ++++++-------------------------
 src/chttpd/test/exunit/tracing_test.exs  |   2 +-
 src/couch_jobs/src/couch_jobs_fdb.erl    |   2 +-
 src/couch_views/src/couch_views_util.erl |   8 +-
 test/elixir/lib/couch.ex                 |  43 ++--
 test/elixir/test/all_docs_test.exs       |   1 +
 test/elixir/test/auth_cache_test.exs     |   2 +-
 test/elixir/test/replication_test.exs    |  58 ++++--
 9 files changed, 128 insertions(+), 317 deletions(-)