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

[couchdb] branch shard-split updated (ac43d04 -> ea9a10f)

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

vatamane pushed a change to branch shard-split
in repository https://gitbox.apache.org/repos/asf/couchdb.git.


 discard ac43d04  Improve readme a bit
 discard 2dcc021  When db is deleted, delete all completed jobs as well
 discard 10e2141  Fix small typo in readme
 discard 4e4f44c  Add a resharding readme doc
 discard af1460c  Shard map updating now goes through a gen_server
 discard 658c4ee  mem3_util unit tests
 discard 6c3fbd4  Property tests for mem3_util:get_ring() function
 discard 696ed75  Property tests for mem3_util:get_ring() function
 discard 40c6d57  Change targets to target
 discard b46ade4  Fix some unused vars and functions
 discard 284a23f  Add API tests for max jobs
 discard 2e0546d  Fix _chages feed replacement logic
 discard 5ad596c  Added recover tests
 discard 0846f49  Add tests for when source db gets deleted
 discard 0b6f2ee  Even more API tests
 discard 709b615  Expand API tests to tests job lifecycle
 discard 967b094  More API tests and associated fixes
 discard c1daaaf  Add API tests and fix a sneaky bug
 discard 8321779  Use the same order for history in ejson and the tuple
 discard 5772d4a  Make _reshard/jobs closer to _scheduler/jobs
 discard 34c69c1  Implement job state history
 discard 9ee3d08  Add a consistent reason to state API queries.
 discard 6225cc2  Fix topoff
 discard b32afdd  When retrying initial_copy state, make sure to reset targets
 discard 6886892  Split reshard httpd utils to a separate module
 discard 880baba  Fix _reshard rename in chttpd auth
 discard 192c764  Added ability to create multiple jobs by posting to _reshard/jobs
 discard 92e2849  Renamed functions / modules : mem3_shard_split -> mem3_reshard
 discard 71ac54d  Renamed files mem3_shard_split* -> mem3_reshard*
 discard c3d29ad  Renaming http endpoint to _reshard/
 discard 814fa39  Fix some unused vars and stats gathering in get_state
 discard 614f06a  API changes from mailing list feedback
 discard 1be5e44  Introduce shard splitting
     new f30fca2  Make it possible to override elixir couchdb settings via environmental variables
     new 6d317e1  Fix engine header upgrades
     new aba6633  Merge pull request #1886 from apache/fix-pq-db-header-version
     new 5471694  Compaction: Add snooze_period_ms for finer tuning (#1880)
     new 5be58a6  fix credo and formatting issues of elixir tests
     new 7918fba  Change enviromental variables not to clash with travis
     new a5ead1f  add elixir tests to travis
     new c6cd924  Change elixir test failing on travis
     new 0988616  Add junit formatter
     new f22e71a  format
     new 4127726  add w:3 for lots of docs test (#1893)
     new 9a57335  Import IOQ from Cloudant
     new 20bbfbf  Run each apps test in a separate process
     new 5b2a3f5  increase timeout on test
     new 82162b6  We don't need to verify that erlang:garbage_collect() works
     new 04a8f83  Merge pull request #1889 from apache/import-cloudant-ioq
     new d3618bf  Make from_json_error_cases tests idiomatic
     new 9517b26  Fix from_json_obj_validate crash when provided rev isn't a valid hex
     new fbb5a14  Fix badarg crash on invalid rev for individual doc update
     new 20448c6  Merge pull request #1901 from apache/fix-doc-update-invalid-rev-crash
     new d0ec540  Force mix rebar/hex/deps get on make elixir (#1894)
     new 2eff33f  Import smoosh from Cloudant
     new 815eed9  run formatting check before time-consuming tests
     new 302f9a7  remove elixir tests from 'make check' until they are reliable
     new c54ffcf  Merge pull request #1904 from apache/import-smoosh
     new e702598  fix couchup for python3 (#1905)
     new 7fe8bfb  Add check for repeated `partition` definitions
     new d5ec065  Import ken
     new b46df8c  Merge pull request #1910 from apache/import-cloudant-ken
     new a6c1988  Sync admin password hashes at cluster setup finish
     new e699fe6  Merge pull request #1803 from cloudant/configurable-auth-salt
     new 13bf0eb  Set io_priority for couch_index pids
     new 9b85da8  Merge pull request #1642 from cloudant/91984-set-io_priority-for-couch-index-pids
     new c3d6717  Fix elixir tests and add back to make check (#1918)
     new d6b1d63  Introduce shard splitting
     new 107331d  API changes from mailing list feedback
     new f2f2485  Fix some unused vars and stats gathering in get_state
     new e2263b6  Renaming http endpoint to _reshard/
     new 571804d  Renamed files mem3_shard_split* -> mem3_reshard*
     new 004588a  Renamed functions / modules : mem3_shard_split -> mem3_reshard
     new 588b0bf  Added ability to create multiple jobs by posting to _reshard/jobs
     new 96f02fb  Fix _reshard rename in chttpd auth
     new 1f19a3a  Split reshard httpd utils to a separate module
     new ea4197f  When retrying initial_copy state, make sure to reset targets
     new b604f61  Fix topoff
     new ce5e4db  Add a consistent reason to state API queries.
     new 0432c60  Implement job state history
     new 17c6b00  Make _reshard/jobs closer to _scheduler/jobs
     new 57bde4c  Use the same order for history in ejson and the tuple
     new 363bb1e  Add API tests and fix a sneaky bug
     new c1e1e2c  More API tests and associated fixes
     new 56a8ba3  Expand API tests to tests job lifecycle
     new 9396675  Even more API tests
     new 2b973a4  Add tests for when source db gets deleted
     new 3d43687  Added recover tests
     new 568b9d7  Fix _chages feed replacement logic
     new ac42604  Add API tests for max jobs
     new d3fa75e  Fix some unused vars and functions
     new de3bec4  Change targets to target
     new f3a98a1  Property tests for mem3_util:get_ring() function
     new 710c29f  Property tests for mem3_util:get_ring() function
     new 49acd73  mem3_util unit tests
     new 95b8080  Shard map updating now goes through a gen_server
     new 35970be  Add a resharding readme doc
     new 4873822  Fix small typo in readme
     new 133f159  When db is deleted, delete all completed jobs as well
     new ea9a10f  Improve readme a bit

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   (ac43d04)
            \
             N -- N -- N   refs/heads/shard-split (ea9a10f)

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.

The 11633 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .travis.yml                                        |   8 +-
 Makefile                                           |  24 +-
 Makefile.win                                       |  12 +-
 dev/run                                            |   1 -
 rebar.config.script                                |   5 +-
 rel/overlay/bin/couchup                            |   4 +-
 rel/overlay/etc/default.ini                        | 108 +---
 rel/reltool.config                                 |   6 +
 src/chttpd/src/chttpd_db.erl                       |   8 +-
 src/couch/src/couch_bt_engine_header.erl           |  52 +-
 src/couch/src/couch_compaction_daemon.erl          | 600 ---------------------
 src/couch/src/couch_debug.erl                      |  20 +-
 src/couch/src/couch_doc.erl                        |  21 +-
 src/couch/src/couch_secondary_sup.erl              |   3 +-
 src/couch/src/test_util.erl                        |  17 +
 .../couch_bt_engine_partition_downgrade_tests.erl  |  86 ---
 src/couch/test/couch_bt_engine_upgrade_tests.erl   |  68 +--
 src/couch/test/couch_db_doc_tests.erl              |  21 +-
 src/couch/test/couch_doc_json_tests.erl            |  22 +-
 src/couch/test/couch_index_tests.erl               | 234 ++++++++
 src/couch/test/couchdb_compaction_daemon_tests.erl | 314 -----------
 ...urge_req.couch => db_v6_with_1_purge_req.couch} | Bin
 ...uch => db_v6_with_1_purge_req_for_2_docs.couch} | Bin
 ...urge_req.couch => db_v6_with_2_purge_req.couch} | Bin
 ...rge_req.couch => db_v6_without_purge_req.couch} | Bin
 ...urge_req.couch => db_v7_with_1_purge_req.couch} | Bin 16566 -> 16617 bytes
 ...uch => db_v7_with_1_purge_req_for_2_docs.couch} | Bin 16557 -> 20705 bytes
 ...urge_req.couch => db_v7_with_2_purge_req.couch} | Bin 16566 -> 20713 bytes
 ...rge_req.couch => db_v7_without_purge_req.couch} | Bin 61644 -> 65781 bytes
 src/couch_index/src/couch_index_compactor.erl      |   2 +
 src/couch_index/src/couch_index_updater.erl        |   2 +
 src/couch_mrview/src/couch_mrview_updater.erl      |  11 +-
 src/mango/src/mango_native_proc.erl                |  17 +-
 src/setup/src/setup.erl                            |  66 +++
 test/elixir/README.md                              |  11 +-
 test/elixir/lib/couch.ex                           |   7 +-
 test/elixir/lib/couch/db_test.ex                   |   2 +-
 test/elixir/mix.exs                                |   5 +-
 test/elixir/mix.lock                               |   1 +
 test/elixir/test/basics_test.exs                   |   2 +-
 test/elixir/test/bulk_docs_test.exs                |   9 +-
 test/elixir/test/compact_test.exs                  |  26 +-
 test/elixir/test/conflicts_test.exs                |  13 +-
 test/elixir/test/delayed_commits_test.exs          |   4 +
 test/elixir/test/lots_of_docs_test.exs             |  45 +-
 test/elixir/test/partition_all_docs_test.exs       |  12 +-
 test/elixir/test/partition_crud_test.exs           |   8 +-
 test/elixir/test/partition_ddoc_test.exs           |  21 +-
 test/elixir/test/partition_mango_test.exs          |  66 ++-
 test/elixir/test/partition_view_test.exs           |  25 +-
 test/elixir/test/partition_view_update_test.exs    |  26 +-
 test/elixir/test/replication_test.exs              |   4 +-
 test/elixir/test/test_helper.exs                   |   6 +-
 53 files changed, 674 insertions(+), 1351 deletions(-)
 delete mode 100644 src/couch/src/couch_compaction_daemon.erl
 delete mode 100644 src/couch/test/couch_bt_engine_partition_downgrade_tests.erl
 create mode 100644 src/couch/test/couch_index_tests.erl
 delete mode 100644 src/couch/test/couchdb_compaction_daemon_tests.erl
 rename src/couch/test/fixtures/{db_with_1_purge_req.couch => db_v6_with_1_purge_req.couch} (100%)
 copy src/couch/test/fixtures/{db_with_1_purge_req_for_2_docs.couch => db_v6_with_1_purge_req_for_2_docs.couch} (100%)
 copy src/couch/test/fixtures/{db_with_2_purge_req.couch => db_v6_with_2_purge_req.couch} (100%)
 copy src/couch/test/fixtures/{db_without_purge_req.couch => db_v6_without_purge_req.couch} (100%)
 copy src/couch/test/fixtures/{db_with_2_purge_req.couch => db_v7_with_1_purge_req.couch} (93%)
 rename src/couch/test/fixtures/{db_with_1_purge_req_for_2_docs.couch => db_v7_with_1_purge_req_for_2_docs.couch} (79%)
 rename src/couch/test/fixtures/{db_with_2_purge_req.couch => db_v7_with_2_purge_req.couch} (79%)
 rename src/couch/test/fixtures/{db_without_purge_req.couch => db_v7_without_purge_req.couch} (93%)