1
0
Fork 0
Commit Graph

44506 Commits

Author SHA1 Message Date
KVS85 1c8874fc6a Fix MACOSX_DEPLOYMENT_TARGET absence case (#9572) 2019-07-25 19:33:51 +02:00
Jan 51921c4129
fixed a bug in RTRIM implementation, fixed issue #9558 (#9564) 2019-07-25 13:04:21 +02:00
Matthew Von-Maszewski 0eb450f96d
ENCRYPTION file sometimes not cleaned up then causes encrypted test to fail. Now cleaned up. (#9559) 2019-07-24 11:10:06 -04:00
KVS85 4f4453d50f Backport of MACOSX_DEPLOYMENT_TARGET from devel (#9555) 2019-07-24 15:42:29 +03:00
Jan 950aefe6b8
Bug fix 3.4/temporary directory fixes (#9550)
* 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).
2019-07-24 12:46:27 +02:00
Matthew Von-Maszewski 015f59f0b9
Feature 3.4: Use ManagedDirectory class to add gzip and encryption to import/export (#9472)
* preview code I dropped on jackie today.  only supports document collections.

* saving work in progress

* update arangoexport to fully use ManagedDirectory object (arangoimport still needs work).

* migrate remainder of import to using ManagedDirectory objects

* correct spelling within activateEncryption(): encription to encryption

* forgot to fix up graphExport for managed directory.  luckily unittest noticed.

* add test read of gzip json file

* add readGzip to our fs object

* add TRI_SlurpGzipFile function

* add code to bridge javascript fs.readGzip to TRI_SlurpGzipFile

* correct the return type used by JS_ReadGzip

* add gzip test for jsonl type export

* add remain gzip versions of existing export tests

* add import tests of gzip files

* activate encryption in enterprise to enable fs.readDecrypt()

* bug fix: allow encryption to enable in empty directory if EncryptionFeature active.

* add JS_ReadDecrypt to enterprise build.  Current used for unit tests.

* enterprise build needs EncryptionFeature added to build to support TRI_SlurpDecryptFile()

* add TRI_SlurpDecryptFile() to aid in unit test of encrypted stuff

* missing newline at end of file.

* add fs.readDecrypt when available

* add test of encrypted json array export

* correct progress meter when gzip involved

* move from using ManagedDirectory::File to ManagedDirectory::readableFile calls

* create version of readableFile that uses file descriptor as param
2019-07-23 14:58:34 -04:00
Jan 0c9290ea1b
fix a query abort error in smart joins if both collections were (#9533) 2019-07-22 14:55:20 +02:00
jsteemann c65cac4e5c updated CHANGELOG 2019-07-22 09:46:46 +02:00
Dan Larkin-York 07344d7694 Fix typo and restructure to match. (#9530) 2019-07-22 09:45:07 +02:00
Jan 2d9ee2281c
fix leak in thread shutdown (#9527) 2019-07-22 09:40:04 +02:00
Jan 1a812b4b4f
Bug fix 3.4/fix races in collection creation (#9504) 2019-07-19 13:29:24 +02:00
Matthew Von-Maszewski d8955bbb29
Bugfix 3.4: Import would not report communication errors (#9499)
* arangoimport was neither reporting nor stopping on communications errors.  Add reporting of impacted lines for CSV imports.

* add fix notes to CHANGELOG

* correct warning from Windows build about size_t to int conversion
2019-07-18 13:45:09 +02:00
Tobias Gödderz 94a84b6233 [3.4] Fix query snippet responsibility for views (#9460)
* Fix query snippet responsibility for views

Select one snippet per node id, instead of parent query id

* Updated CHANGELOG

* Fixed compile error
2019-07-18 10:59:53 +02:00
Jan 83227cb7a1
prevent duplicate actions from popping up (#9453) 2019-07-16 10:02:59 +02:00
Max Neunhoeffer 1baba16dad
Add hot_backup to testing black list. 2019-07-15 11:49:11 +02:00
Matthew Von-Maszewski 4ef47fc7bd BugFix 3.4: Some error results have messages that are not reporting (#9455) 2019-07-11 13:16:15 +02:00
KVS85 5b5c5c4c49
Rename permissions_server suite (#9442) 2019-07-10 16:39:32 +03:00
Max Neunhöffer 75f0a63549
Various error reporting fixes plus Maintenance Current fix. (#9398)
* 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.
2019-07-05 13:38:44 +02:00
Jan 3cedbe4a67
replace potentially unsafe binary comparisons with logical ones (#9380) 2019-07-04 14:56:38 +02:00
Simon 5eb4951d29 use a lock when calling unload (#9367) 2019-07-03 16:21:00 +02:00
Jan c655a89db6
make sure all errors are prefixed with ERROR_ @fceller @kvs85 (#9383) 2019-07-02 18:06:52 +02:00
Lars Maier 8bd34fd1e3 [3.4]Precs to check if collection exists (#9283)
* Adding preconditions for jobs to check that the collection still exists.

* Make it compile.

* Fixed tests.
2019-07-01 13:26:01 +02:00
Frank Celler 35eaf328b6 updaed CHANGELOG 2019-06-28 10:58:05 +02:00
KVS85 d8447e7769
Upgrade arangosync 0.6.4 2019-06-27 22:38:10 +03:00
Max Neunhöffer 5f9423057d
Fix agency election lockstep bug. (#9348)
* 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.
2019-06-27 21:05:59 +02:00
jsteemann 32c6a3768a added changelog entry for indexing memory usage 2019-06-27 14:28:16 +02:00
KVS85 a1959fd485
wait .25, then check whether procdump successfully starts, and if not, properly abort the operation (#9343) 2019-06-27 10:47:27 +02:00
Simon 17468f1dc9 do not buffer index estimates (#9338) 2019-06-26 17:27:01 +02:00
Kaveh Vahedipour b97a62c0de if collection is gone in meantine ... (#9331) 2019-06-26 15:11:40 +02:00
Wilfried Goesgens 7d822355b3 Bug fix 3.4/forward corecheck option (#9336)
* properly forward corecheck option to the client tools launch invokations

* one param was missing
2019-06-26 14:26:14 +02:00
KVS85 68493ef7ef
add a function that will use procdump to generate a core before (#9330) 2019-06-26 11:16:00 +02:00
Wilfried Goesgens 1be89f8ce7 Bug fix 3.4/fix snappy dependency chain (#9316)
* fix snappy build dependencies

* fix snowball invocation and dependencies (#9275)
2019-06-25 11:20:18 +02:00
KVS85 3e57144db5
fix the option to specify a ruby executeable from the outside in instead of leaning on rspec.bat to do its job (#9320) 2019-06-25 11:19:35 +02:00
Wilfried Goesgens b7f933c260 use two simple regexes to workaround macos compilers producing endless loops (#9281) 2019-06-25 09:12:02 +02:00
sleto-it 48f9856e03 Update CHANGELOG (#9317) 2019-06-25 08:59:14 +02:00
Frank Celler ade626dd13 release version 3.4.7 2019-06-24 11:28:27 +02:00
Frank Celler dd4d0ea73f Merge branch '3.4' of github.com:arangodb/arangodb into 3.4.7 2019-06-24 10:05:45 +02:00
Michael Hackstein f06706e53d Bug fix 3.4/create collections better preconditions (#9306)
* Backward port of #9296

* Updated changelog

* Updated changelog
2019-06-24 08:43:46 +02:00
Heiko 5d5eb23e7f Bug fix/gharial 3 4 edge from and tos verification (#9263)
* attempt to apply PR: pull/#9177

* changelog
2019-06-21 14:43:43 +02:00
Lars Maier 40a72f8b43 Added special lock for local data. Use read and write locking. Do not hold read lock during agency transactions. (#9284) 2019-06-21 14:31:43 +02:00
Frank Celler ac3cfc6b4a release version 3.4.7-rc.1 2019-06-19 14:30:07 +02:00
Lars Maier b7d4b9ab5a Release _to server when abort because of dropped collection or `something serious went wrong`. (#9268) 2019-06-17 15:03:07 +02:00
Dan Larkin-York e4cc3ac776 [3.4] Add drop-check for index creation in cluster (#9220)
* Add drop-check for index creation in cluster.

* Fix return.

* Add changelog entry.

* Address review comments.

* Revert change of shared_ptr to plain atomic.
2019-06-12 20:02:01 +02:00
Heiko 5ed82751f2 Bug fix 3.4/gravatar ui fix (#9212)
* fixed editing of users in the web ui when gravatar was enabled

* changelog

* Update userManagementView.js

rm console log
2019-06-12 15:11:26 +02:00
Frank Celler eba11a3bec
added 0 byte test (#9228) 2019-06-10 20:33:15 +02:00
Jan 65e7557f42 Bug fix 3.4/improve arangorestore (#9156)
* 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
2019-06-09 20:21:07 +02:00
Frank Celler dce1368170 Starter 0.14.5 2019-06-09 18:07:25 +02:00
Jan 0c62f96cee
fix failing agency test (#9238) 2019-06-08 23:24:31 +02:00
Kaveh Vahedipour a46fc0690b fix agency's ttl handling in object assignments (#9180) 2019-06-08 22:23:05 +02:00
Jan 2de2d92054
remove archived RocksDB WAL files on agent servers (#9230) 2019-06-08 19:40:07 +02:00