1
0
Fork 0
Commit Graph

14512 Commits

Author SHA1 Message Date
Simon Grätzer 5f1880f839 Fixing index markers 2017-05-02 16:35:01 +02:00
jsteemann 45096dd503 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-05-02 16:09:35 +02:00
jsteemann f815f9e37a exclusive locks for indexes 2017-05-02 16:09:27 +02:00
Simon Grätzer 9f40893bfd Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-05-02 15:08:13 +02:00
Simon Grätzer e335a29326 better incremental sync 2017-05-02 15:08:05 +02:00
Michael Hackstein cf12573507 Removed code paths that wrote objectIds into the Agency. This did break replication. 2017-05-02 14:59:19 +02:00
Simon Grätzer c55ce367eb WAL: honor tick end value 2017-05-02 13:55:19 +02:00
Simon Grätzer 39d8186e16 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-05-02 13:46:48 +02:00
Simon Grätzer 09de672ba1 WAL fiter after collection 2017-05-02 13:46:43 +02:00
Michael Hackstein 4fa2ef485d Merge branch 'devel' of github.com:arangodb/arangodb into devel 2017-05-02 13:19:25 +02:00
Michael Hackstein 33d9e8af9d Added an Assert when persisting an index it's objectId is not allowed to be 0 2017-05-02 13:17:57 +02:00
Michael Hackstein b6bac742b1 The RestReplicationHandler now inserts new ObjectIds when replicating collections 2017-05-02 13:17:18 +02:00
jsteemann 910f5680b0 moved files 2017-05-02 12:34:28 +02:00
jsteemann 64ec345481 add dependencies for TransactionManager 2017-05-02 12:22:13 +02:00
jsteemann 2aae4fc437 fix include 2017-05-02 11:32:15 +02:00
Dan Larkin b46ac15300 Fixed 2.8 dump compatibility and fixed a few more HTTP replication tests. 2017-04-28 16:50:39 -04:00
Dan Larkin e6611ddc4f Fixed ongoing replication bugs and split the test. 2017-04-28 16:01:29 -04:00
Dan Larkin 686d81e6f2 Fixed bug with drop index marker. 2017-04-28 14:35:50 -04:00
Dan Larkin 5e0a60406a Fixed recovery bug. 2017-04-28 14:02:49 -04:00
Simon Grätzer 86ad31124d Fixing some shell_replication tests 2017-04-28 18:14:03 +02:00
Simon Grätzer 1d9180455e Added check 2017-04-28 17:52:18 +02:00
jsteemann 3e41c27632 fix segfault 2017-04-28 17:43:29 +02:00
Simon Grätzer f38b203f94 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-04-28 17:37:42 +02:00
Simon Grätzer 018cf68e06 Added index ID to WAL 2017-04-28 17:37:37 +02:00
Max Neunhoeffer 1684676924 Agency improvement: track ongoing transactions for inquire. 2017-04-28 17:24:30 +02:00
Max Neunhoeffer 8e755309c5 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2017-04-28 17:22:13 +02:00
Max Neunhoeffer 09ff77cce2 Make Windows VS compiler a bit happier. 2017-04-28 17:18:37 +02:00
Simon Grätzer 97681ab32a Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
# Conflicts:
#	arangod/RocksDBEngine/RocksDBReplicationTailing.cpp
2017-04-28 17:12:50 +02:00
Simon Grätzer 3f645f85ff fixing drop 2017-04-28 17:11:52 +02:00
jsteemann a99cc64bed minor fixes 2017-04-28 17:09:00 +02:00
Simon Grätzer 506e56aa72 Fixed remove 2017-04-28 16:50:40 +02:00
Simon Grätzer db26fe0061 Added tick value 2017-04-28 16:33:06 +02:00
Simon Grätzer fd7059f94c Added tax id 2017-04-28 16:31:20 +02:00
Simon Grätzer 51c8653cb2 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-04-28 16:28:41 +02:00
Simon Grätzer 52058ac909 fixing replication errors 2017-04-28 16:28:35 +02:00
Michael Hackstein 42ade94f3d Fixed number type asserts in RocksDBValue 2017-04-28 15:42:13 +02:00
Jan Christoph Uhde a9d2b4dc7e redo: remove unnecessary code 2017-04-28 14:59:13 +02:00
Simon Grätzer c9d310c5b4 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-04-28 14:51:05 +02:00
Jan Christoph Uhde 5874b4d997 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
* 'devel' of https://github.com/arangodb/arangodb:
  erroneous .25 wait before each agency transaction
  added more assertions
  added assertions for transaction states
  fix reading of initial tick values from RocksDB
  Moved tests for indexBuckets to MMFilesEngine only in dump_authentication. Not needed in RocksDB
  disable optimization
  optimizations for read-only transactions
  optimizations for empty transactions
  try to fix non-deterministic behavior in test
2017-04-28 14:44:47 +02:00
jsteemann df3c6abb21 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-04-28 14:44:14 +02:00
Jan Christoph Uhde cb868d36a9 remove unnecessary code 2017-04-28 14:44:04 +02:00
Simon Grätzer 96f347ce73 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-04-28 14:41:45 +02:00
Simon Grätzer 84ed7ec100 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
# Conflicts:
#	arangod/RocksDBEngine/RocksDBRestReplicationHandler.cpp
2017-04-28 14:40:17 +02:00
Kaveh Vahedipour f331947a33 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-04-28 14:37:56 +02:00
Kaveh Vahedipour 311bda2af7 erroneous .25 wait before each agency transaction 2017-04-28 14:37:46 +02:00
jsteemann fef62ecda6 added more assertions 2017-04-28 14:32:52 +02:00
jsteemann a2db9ad886 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-04-28 14:28:54 +02:00
jsteemann 81f1d3820f added assertions for transaction states 2017-04-28 14:28:45 +02:00
Simon Grätzer 0a00a7eb67 Fixed broken JSON output 2017-04-28 14:28:34 +02:00
jsteemann 502d3ee354 fix reading of initial tick values from RocksDB 2017-04-28 14:28:13 +02:00
Jan Christoph Uhde 9c3f9afa22 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
* 'devel' of https://github.com/arangodb/arangodb:
  Adapted recplication-ruby test removed tests for system indexes and compatibility tests.
  Fixed Dump. It tried to insert contains of a builder into itself
  Remove rocksdb linking (implicitly done via arangoserver!)
  ASAN runtime errors
  Reduce maximal timeout in exponential backoff when waiting for a lock.
  abort early
  Fixed restoreIndox for RocksDB. Also removed Primary and EdgeIndexes from Inventory, which is identical to MMFiles
  try to make task tests more robust and reliable
  lock unification
2017-04-28 14:22:09 +02:00
Jan Christoph Uhde ce762fe872 add handleCommandDetermineOpenTransactions 2017-04-28 14:21:55 +02:00
jsteemann 037310b60d disable optimization 2017-04-28 13:55:10 +02:00
jsteemann 5ab204751c optimizations for read-only transactions 2017-04-28 13:29:49 +02:00
jsteemann 9183f9da8e Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-04-28 13:13:49 +02:00
jsteemann ebd95ce7df optimizations for empty transactions 2017-04-28 13:13:41 +02:00
Michael Hackstein 10b212b5a3 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2017-04-28 13:11:45 +02:00
Michael Hackstein 77c05cff09 Fixed Dump. It tried to insert contains of a builder into itself 2017-04-28 13:10:27 +02:00
Max Neunhoeffer 170942da4f Reduce maximal timeout in exponential backoff when waiting for a lock. 2017-04-28 11:38:17 +02:00
jsteemann 4f226547d9 abort early 2017-04-28 11:34:36 +02:00
Michael Hackstein 435d990e4b Merge branch 'devel' of github.com:arangodb/arangodb into devel 2017-04-28 11:10:01 +02:00
Michael Hackstein 360d2b3b99 Fixed restoreIndox for RocksDB. Also removed Primary and EdgeIndexes from Inventory, which is identical to MMFiles 2017-04-28 11:09:53 +02:00
Jan Christoph Uhde 1b1fb806fd Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
* 'devel' of https://github.com/arangodb/arangodb:
  remove system stackframes from ruby output; lintify
  yield on shutdown
2017-04-28 11:04:29 +02:00
Jan Christoph Uhde 8df6e1c289 update ticks after parsing wal 2017-04-28 11:04:06 +02:00
jsteemann 1d22f7bb61 yield on shutdown 2017-04-28 10:06:27 +02:00
Dan Larkin e2853e4b52 Enabled saving applier config and fixed some replication tests/behavior. 2017-04-27 22:39:48 -04:00
Dan Larkin b8d2944a7b Enabled writing-out of last-used tick for RocksDB to avoid duplicate errors. 2017-04-27 18:52:44 -04:00
Dan Larkin 455cf9fc7c Merge branch 'devel' of github.com:arangodb/arangodb into devel 2017-04-27 18:25:49 -04:00
Dan Larkin f4a8b6911f Fixed data layout of cache buckets for 32-bit systems. 2017-04-27 18:25:42 -04:00
Simon Grätzer 5e8f649772 Fixed WAL tailing 2017-04-27 19:14:57 +02:00
Simon Grätzer 9e498851a9 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-04-27 18:23:14 +02:00
Simon Grätzer 9959f36be1 Fixed broken WAL tailing function 2017-04-27 18:23:10 +02:00
Michael Hackstein be16c02876 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2017-04-27 18:11:14 +02:00
Michael Hackstein 70f5413fe8 RocksDB inventory now includes indexees as well 2017-04-27 18:11:06 +02:00
Andreas Streichardt 74b721481c Wait for cluster sync when creating collections 2017-04-27 17:46:41 +02:00
Simon Grätzer 88c62c05a9 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-04-27 17:38:06 +02:00
Simon Grätzer ddf7ae60cf WAL tailing 2017-04-27 17:38:02 +02:00
Michael Hackstein 5c0f54a111 Copied missing RestReplicationHandlers from MMFiles to RocksDB. Preparation for ClusterSynchronous replication. Untested yet. 2017-04-27 17:16:51 +02:00
Andreas Streichardt c47505d514 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2017-04-27 15:59:11 +02:00
Andreas Streichardt 2f6c391d9b move useless string to where it belongs 2017-04-27 15:04:08 +02:00
jsteemann 3b48b6bd51 update safeResumeTick as well 2017-04-27 14:47:22 +02:00
jsteemann 38fd964f99 fix empty server responses in case invalid users are used
fix compile error
2017-04-27 14:47:20 +02:00
jsteemann aa521d5412 better error messages 2017-04-27 14:47:19 +02:00
jsteemann 66ec078bd5 turn off deadlock detector in obvious cases in which it is not necessary 2017-04-27 14:47:19 +02:00
Jan Christoph Uhde 22028f14b7 add rest of applier api 2017-04-27 14:31:51 +02:00
Jan Christoph Uhde ac388a087e Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
* 'devel' of https://github.com/arangodb/arangodb:
  fixed shard ordering in Job::clones with consequences for unit tests
  improved debug facilities
  added isLocked() flag for ConditionLocker
  clarify index names
  Redesigned Collection.drop() in RocksDB. Does not write LogData and has a different workflow to create a consistent user-view
  fixed compile with USE_JEMALLOC=OFF
  cppcheck
  updated release notes
  Split tests to fix mac
  typo
  distributeShardsLike is not ignored when prototype does not exist
  fix wrong info. thanks @Simran-B
  fixed issue #2459
  fixed memleak
  Fixed startup exception
  Fixed typedefs
  RocksDB WAL entries for transactions
  Working initial sync
  Fixing incremental sync deletion
2017-04-27 13:46:07 +02:00
Jan Christoph Uhde 9418144210 add applier-state 2017-04-27 13:43:57 +02:00
Kaveh Vahedipour e40ebcfade Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-04-27 13:37:59 +02:00
Kaveh Vahedipour e7797d292e fixed shard ordering in Job::clones with consequences for unit tests 2017-04-27 13:37:47 +02:00
jsteemann fc43ecb44e Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-04-27 13:13:44 +02:00
jsteemann 2b5cf28d74 improved debug facilities 2017-04-27 13:13:35 +02:00
Michael Hackstein 561bdf0b49 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2017-04-27 13:11:07 +02:00
Michael Hackstein e0d9fd3cc3 Redesigned Collection.drop() in RocksDB. Does not write LogData and has a different workflow to create a consistent user-view 2017-04-27 12:58:51 +02:00
jsteemann f94ef035cb cppcheck 2017-04-27 12:26:13 +02:00
Kaveh Vahedipour 1109c7b54e typo 2017-04-27 10:43:02 +02:00
Kaveh Vahedipour 641700399b Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-04-27 10:38:43 +02:00
Kaveh Vahedipour e778604cef distributeShardsLike is not ignored when prototype does not exist 2017-04-27 10:38:07 +02:00
Simon Grätzer 33ed35fa1f Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-04-27 10:13:17 +02:00
jsteemann 81c629a685 fixed memleak 2017-04-27 08:54:19 +02:00
Dan Larkin 6296f88c05 Added stub handler for PutLogData. 2017-04-26 22:49:32 -04:00