* Added full index iterator utilization in case of some documents was not found in collection
* Added index operations reversal in case of insertion failure in rocksdb
* Removed singleop optimization as rollback possible even for such operations (in case of index operation failure on insert)
* Added tests for insert rollback in views
* Added catch tests for view block
* Added changelog entry
* fixed jslint errors
* fixed linux build
* Added test for update
* Fix CHANGELOG sequence
* Add line
* Added reverts for update and remove failures
* Cleanup in test. Added throwing error in case of failed reversal
* fixed typo
Co-Authored-By: Simran <Simran-B@users.noreply.github.com>
* fixed build
* Applied review comments
* Applied review comments
* added startup error for bad temporary directory setting
if the temporary directory (--temp.path) setting is identical to the database directory (--database.directory)
this can eventually lead to data loss, as temporary files may be created inside the temporary directory, causing
overwrites of existing database files/directories with the same names.
Additionally the temporary directory may be cleaned at some point, and this would lead to an unintended cleanup
of the database files/directories as well.
Now, if the database directory and temporary directory are set to the same path, there will be a startup error
warning about potential data loss (though in ArangoDB 3.4 allowing to continue the startup - in 3.5 and higher
we will abort the startup).
* Cleanup new logging.
* Hand on error message from getLocalCollections.
* Better behaviour if a database was announce but has vanished since.
* Fix catch tests.
* Switch on maintenance debugging output.
* Fix maintenance reporting bugs.
* CHANGELOG.
* No error if follower cannot be dropped.
* Improvement to avoid copying.
* Add preconditions to FollowerInfo agency operations.
* Adjust timeouts.
* Use isEqualString instead of compareString.
* Fix Windows compilation.
* Fix agency election lockstep bug.
Reset the base point for the random election timeout to now whenever we have
cast a vote, be it for us or for some other server.
* CHANGELOG.
* always import system collections first, so if importing some other collection fails later, the system collections are already in place
* properly disable enterprise features when restoring an enterprise dump into a community cluster
* disable enterprise features when restoring an enterprise dump into the community version
* fix handling of "duplicate name" issues when restoring system
collections
* If we miss a callback in CollectionCreation also test if we missed later callbacks.
* Updated changelog
* Fixed callback lockers
* Remove lockers vector alltogether, we are protected by mutex anyways
* Fixed include guard
* Do not recheck the Collection that has woken us up
* Fixed recursive lock gathering
* fix flientid register in state
* remove the log erase locations
* iterator check
* also clear considered
* emplaces also handled
* don't add if clientId empty
* move semantics for log_t
* forward log_t into deque. bail out also as follower, when log_t cannot be emplaced
* whitespaces
* change log
* fix agency test for leadership change during long transactions with clientId
* log_t was as good as it gets
* white spaces
* add clientIds the inc/dec test
* client id for inc/dec test
* Fix a typo in a message.
* Add a comment for better readability.
* Fix agency test.
* Take debugging out.
* Activate another old agency test.
* Fix client id.
* Consistent behaviour across branches.