1
0
Fork 0
arangodb/arangod/Cluster
jsteemann 5f65a9ed4f allow more control over handling of pre-3.1 _rev values
this changes the server startup option `--database.check-30-revisions` from a boolean (true/false)
parameter to a string parameter with the following possible values:

- "fail":
  will validate _rev values of 3.0 collections on collection loading and throw an exception when invalid _rev values are found.
  in this case collections with invalid _rev values are marked as corrupted and cannot be used in the ArangoDB 3.1 instance.
  the fix procedure for such collections is to export the collections from 3.0 database with arangodump and restore them in 3.1 with arangorestore.
  collections that do not contain invalid _rev values are marked as ok and will not be re-checked on following loads.
  collections that contain invalid _rev values will be re-checked on following loads.

- "true":
  will validate _rev values of 3.0 collections on collection loading and print a warning when invalid _rev values are found.
  in this case collections with invalid _rev values can be used in the ArangoDB 3.1 instance.
  however, subsequent operations on documents with invalid _rev values may silently fail or fail with explicit errors.
  the fix procedure for such collections is to export the collections from 3.0 database with arangodump and restore them in 3.1 with arangorestore.
  collections that do not contain invalid _rev values are marked as ok and will not be re-checked on following loads.
  collections that contain invalid _rev values will be re-checked on following loads.

- "false":
  will not validate _rev values on collection loading and not print warnings.
  no hint is given when invalid _rev values are found.
  subsequent operations on documents with invalid _rev values may silently fail or fail with explicit errors.
  this setting does not affect whether collections are re-checked later.
  collections will be re-checked on following loads if `--database.check-30-revisions` is later set to either `true` or `fail`.

The change also suppresses warnings that were printed when collections were restored using arangorestore, and the restore
data contained invalid _rev values. Now these warnings are suppressed, and new HLC _rev values are generated for these documents
as before.
2016-11-04 23:17:01 +01:00
..
AgencyCallback.cpp Add a sensible error message. 2016-09-20 15:26:51 +02:00
AgencyCallback.h
AgencyCallbackRegistry.cpp
AgencyCallbackRegistry.h
AgencyComm.cpp double percision conserved for timeout in AgencyComm 2016-11-03 16:47:38 +01:00
AgencyComm.h
ClusterComm.cpp fix Visual Studio complaints 2016-10-31 09:59:18 +01:00
ClusterComm.h Squashed commit of the following: 2016-10-24 10:18:30 +02:00
ClusterEdgeCursor.cpp fixed compile errors (visual studio) 2016-09-07 14:52:52 +02:00
ClusterEdgeCursor.h
ClusterFeature.cpp Squashed commit of the following: 2016-10-24 10:18:30 +02:00
ClusterFeature.h switch to boost asio 2016-10-14 10:12:17 +00:00
ClusterInfo.cpp local databases lookups up 2 keys in agency with checks on both 2016-11-03 15:34:41 +01:00
ClusterInfo.h Implement cURL based inter server communication 2016-10-10 14:56:04 +02:00
ClusterMethods.cpp allow more control over handling of pre-3.1 _rev values 2016-11-04 23:17:01 +01:00
ClusterMethods.h Removed dead code of TraverserExpressions. They have been replaced by native AQL expressions everywhere. 2016-11-04 18:15:04 +01:00
ClusterTraverser.cpp Squashed commit of the following: 2016-10-24 10:18:30 +02:00
ClusterTraverser.h Squashed commit of the following: 2016-10-24 10:18:30 +02:00
DBServerAgencySync.cpp switch to boost asio 2016-10-14 10:12:17 +00:00
DBServerAgencySync.h switch to boost asio 2016-10-14 10:12:17 +00:00
HeartbeatThread.cpp Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-10-17 15:14:13 +02:00
HeartbeatThread.h silenced compiler warnings 2016-10-15 09:31:34 +00:00
RestAgencyCallbacksHandler.cpp switch to boost asio 2016-10-14 10:12:17 +00:00
RestAgencyCallbacksHandler.h switch to boost asio 2016-10-14 10:12:17 +00:00
RestShardHandler.cpp switch to boost asio 2016-10-14 10:12:17 +00:00
RestShardHandler.h switch to boost asio 2016-10-14 10:12:17 +00:00
ServerState.cpp Implement cluster authentication 2016-10-17 13:35:55 +02:00
ServerState.h Implement cluster authentication 2016-10-17 13:35:55 +02:00
TraverserEngine.cpp Squashed commit of the following: 2016-10-24 10:18:30 +02:00
TraverserEngine.h Added a new endpoint for SmartSearch BFS. (Enterprise only) 2016-09-20 13:52:27 +02:00
TraverserEngineRegistry.cpp Fix hanging dbservers in graph tests. 2016-09-28 10:25:02 +02:00
TraverserEngineRegistry.h Fix hanging dbservers in graph tests. 2016-09-28 10:25:02 +02:00
v8-cluster.cpp Added some better handling of SmartEdgeCollections in simpleQueries. 2016-10-19 15:19:33 +02:00
v8-cluster.h