mirror of https://gitee.com/bigwinds/arangodb
6 Commits
Author | SHA1 | Message | Date |
---|---|---|---|
|
13dae8cace |
Feature 3.5/sharding config (#10111)
* added options `--cluster.max-number-of-shards` `--cluster.default-replication-factor` `--cluster.min-replication-factor` `--cluster.max-replication-factor` * fix creating satellite collections * added CHANGELOG entry and tests * guard against invalid replicationFactor changes when changing properties * fix validation * remove stray print * Update arangod/Cluster/ClusterFeature.h Co-Authored-By: Michael Hackstein <michael@arangodb.com> |
|
|
328f46e3d6 |
This merges hotbackup and atomic-db-creation into 3.5. (#9968)
* Squashed commit of feature-3.5/hotbackup_devel. This puts hotbackup into 3.5. * Port atomic-database-creation-2 to 3.5. * Remove some wrongly ported code. * Fix compilation. * Fix a manual merge error. * Remove a feature from the mocks which does not exist in 3.5. * Add some code which was forgotten in manual merge. * Fix a problem introduced in a manual merge. * reuse function * Address some whitespace issues that came up in review * aardvark should not create the frontend collection * create _frontend collection from c++ * recheckAndUpdate Callback in CollectionWatcher * Wrong author ;) * rm outdated todo * Update lib/Basics/VelocyPackHelper.h Co-Authored-By: Michael Hackstein <michael@arangodb.com> * use logger unique id, use startup logger * not needed * optimized vector shardid method * do not create _modules collection lazy anymre * Formatting. * Assert instead of if/TRI_ASSERT(false) * Don't use exceptions as control structure * Re-add READ_LOCKER that got lost in translation * Fix audit log in case database creation fails early. * legacy sharding * Add CHANGELOG entry. * Retry database cancellation indefinitely * Do not use exceptions in UpgradeTask * DropCollection is a FAST_LANE action and should not need much time or else retry. * Remove superflous addition of LdapFeature Proudly brought to you by ASAN tests * Fixed check for distributShardsLike sharding on _system database * Fixed compile issue on tests * Removed assertion that seems to be not correct yet on devel. * Sort out google cloud storage as remote. (#9918) * Add successful method to ClusterCommResult. * Improve error forwarding for cluster internal communication. * Feature/hotbackup list retries (#9924) * retry hot backup listing for 2 minutes in cluster before giving up * Enable api by default. * fix broken list of non existing id (#9957) * Fix compilation after manual merge. * Fix another compilation problem. * Yet more fixes for compilation. * More compilation fixes. |
|
|
d5840c125a |
Bug fix 3.5/min replication factor (#9524)
* Cherry-pick minReplicationFactor * Bug fix/failover with min replication factor (#9486) * Improve collection time of IResearchQueryOptimizationTest * Added a minReplicationFactor field in Collections. It is not possible to modify it yet and noone cares for it * Added some assertion son minReplicationFactor * Transaction API will now reject writes as soon as minimal replication factor is NOT fulfilled * added minReplicationFactor to the user interface, preparation for the collection api changes * added minReplicationFactor to VocBaseCollection, RestReplicationHandler, RestCollectionHandler, ClusterMethods, ClusterInfo and ClusterCollectionCreationInfo * added minReplicationFactor usage to tests * TODO TEMOPORARY COMMIT FOR TESTING PLEASE REVERT ME * minReplicationFactor now able to change via collection properties route * fixed wrongly assert * added minReplicationFactor to the graph management ui * added minReplicationFactor to the gharial api * Fixed off-by-one error in minReplicationFactor. We actually enforced one more. * adjusted description of minReplicationFactor * FollowerInfo Refactoring * added gharial api graph creation tests with minimal replication factor * proper cleanup of shell collection tests, removed lots of duplicate code, preparation for some new tests * added collection create tests using invalid/valid names, replicationFactor and minReplicationFactor * Debug logging * MORE Debug logging * Included replication fast lane * Use correct minreplicationfactor * modified debug logging * Fixed compileissues * MORE Debug logging * MORE Debug logging * MORE Debug logging * MORE Debug logging * MORE Debug logging * MORE Debug logging * MORE Debug logging * Revert "MORE Debug logging" This reverts commit |
|
|
3f603f024f |
remove some containers from common.h (#9223)
* remove some containers from Common.h * enterprise fixes |
|
|
ac9f375fb5 | big reformat | |
|
e4d7f1c5f0
|
Bug fix/wenn der shard mann 2mal klingelt (#5890) |