mirror of https://gitee.com/bigwinds/arangodb
4 Commits
Author | SHA1 | Message | Date |
---|---|---|---|
|
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 |
|
|
e61fb5a34e
|
Bug fix/create collections better preconditions (#9296)
* Fixed case where a SmartVertex collection could be available too early. Only possible if a SmartGraph is created only with this one collection. * Now the TTL remove operation will properly check preconditions again. * Second attempt, we only say collection creation was success iff the plan for the collection has not been mdified during create. * Disabled assertion in favor of tests. * Removed debug output |
|
|
63eadb1d79
|
fix issues (#9236) | |
|
d135d55d55
|
Bug fix/collection babies (#9124)
* Bug fix 3.4/collection babies (#9033) * Prepare API to create multiple collections in a single request to ClusterMethods to improve speedup * Added counter on how many collections are successfully created * Allow multi collection creation one level higher * CollectionMethods now allow batch createion of Collections * Improved array size assertions * Now a graph is createad within a single roundtrip in the agency. * Added new header files * Insert collections in the AGENCY with TTL and a isBuilding flag, collections with this flag should not be visisible in the coordinator * Added forgotten C++ file * Fixed a rare race condition, and the failing IResearch Tests * readded callback on DONE, otherwise lists are out of sync * Fixed assertions to let mocked tests pass... * Fixed community cluster * Started fixing IResearch analyzer test, catch-tests are failing ;( * Solved missed merge-conflict * Added helper functions in AnalyzerFeature-test * Refactoring AnalyzerTest Section-Auth * Refactoring AnalyzerTest Section-Emplace-Duplicates * Refactoring AnalyzerTest Section-Emplace-Error-Cases. Recovery-Test is now red, it seemed to be green because of invalid test case before. * Refactoring AnalyzerTest, split GET test into multiple parts, still left 'cluster simulation'. * Attempt to extract Coordinator / DBServer tests a little bit. This commit starts to break all Coordinator tests. However i am convinced that earlier version did NOT test a cluster situation at all, but some hybrid of SingleServer with full local storage that got told to be a Coordinator from now on, but without any Coordinator setup... * Temporarly disabled some tests in AnalyzerFeature, as discussed with @gnusi. * Fixed include guard. * Temporarily deactivated failing tests * You shall save your files before you commit... * Fixed test asserting on plan version, which is now higher than before |