1
0
Fork 0
Commit Graph

1122 Commits

Author SHA1 Message Date
Jan ab847839df
Bug fix 3.4/reduce arangosearch rwlock waits (#9622) 2019-08-02 14:26:17 +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
Frank Celler eba11a3bec
added 0 byte test (#9228) 2019-06-10 20:33:15 +02:00
Wilfried Goesgens 8e0ebb00c6 Bugfix/backport fs changes (#9024) 2019-05-23 12:46:47 +02:00
Andrey Abramov ac60c99079
backport fix from iresearch upstream (#8732) 2019-04-11 17:44:31 +03:00
Jan a540b795b5
this addresses an issue described in ES-260, and is a forward-port of https://github.com/facebook/rocksdb/pull/5160 (#8697) 2019-04-08 18:20:50 +02:00
KVS85 c88c4d1416 Remove USE_IRESEARCH definition and usage (#8612) 2019-03-28 17:22:11 +01:00
Jan 3f3f0c6fe3
Feature 3.4/ncc1701 (#8441) 2019-03-21 14:53:28 +01:00
Andrey Abramov b4e42be2a2
backport fix from iresearch upstream (#8428) 2019-03-15 18:27:58 +03:00
Frank Celler 7c091c57d0
fix buffer overflow (#8187) 2019-02-22 11:21:02 +01:00
Jan 8a16a4b3ae update velocypack (#8075) 2019-01-31 17:31:54 +01:00
Jan e19817fa6c
upgrade bundled version of curl library to 7.63.0 (#7924) 2019-01-19 18:54:53 +01:00
Matthew Von-Maszewski 474f0cde31 Bug fix 3.4/scheduler empty reformat (#7872)
* added check for empty scheduler

* removed log, old is 1 not 0

* require running in this thread

* test

* added isDirect to callback

* signature fixed

* added drain

* added allowDirectHandling

* disabled for testing

* Add ExecContextScope object to direct call.

* try alternate initialization of ExecContextScope

* remove ExecContextScope, no help.  try _fifoSize as part of direct decision.

* strand management to minimize reuse of same strand per listen socket

* blind attempt to address Jenkins shutdown lock up.  may remove quickly.

* add filename and line to existing error log message

* Adjust queueOperation() to stop accepting items once isStopping() becomes true.

* revert previous check-in to MMFilesCollectorThread.cpp

* big reformat

* fixed merge conflicts

* Add CHANGELOG entry.
2019-01-08 20:39:42 +01:00
Jan a14f6dd573
prevent duplicate attributes being generated by AQL queries (#7836) 2019-01-02 12:37:47 +01:00
Andrey Abramov edb2ca4800
update ArangoSearch consolidation policy (#7801) (#7802) 2018-12-19 02:34:17 +03:00
Max Neunhöffer ff08b58335
Fix S2 for aarch64. (#7771) 2018-12-17 09:59:48 +01:00
Andrey Abramov 398292069f
fix cmake parameters coincidence (#7773) 2018-12-15 01:56:40 +03:00
Simon da3b8e9e73 Upgrade S2 Library (#7519) (#7550)
(cherry picked from commit 8b0e0b0b75)
2018-11-29 19:18:10 +01:00
Andrey Abramov 30fe53e34e
Bug fix/internal issue #502 (#7480) (#7487)
* update iresearch

* update iresearch
2018-11-27 23:53:27 +03:00
Wilfried Goesgens 8870d2c0cd Bug fix/copy schmutz (#7441) (#7462)
* don't copy files, rather source them from their actual location directly

* also locate the stemmer modules header
2018-11-27 13:38:08 +01:00
Jan ffc823e1c8
Bug fix 3.4/backport optimizations (#7434) 2018-11-26 19:16:05 +01:00
Andrey Abramov 822e15e770
issue 153: ensure views are dropped in Agency when database is dropped in cluster, minor fixes (#7370) (#7451)
* issue 153: ensure views are dropped in Agency when database is dropped in cluster, minor fixes

* backport: add test to ensure views are dropped when database is dropped from plan, fix some issues in ClusterInfo

* optimize primary key lookups in ArangoSearch

* fix test

* Add JS tests

* temporary comment optimizations

# Conflicts:
#	arangod/Cluster/ClusterInfo.cpp
2018-11-26 00:33:58 +03:00
Simon ef239cbe4e Make recovery more reliable (#7297) (#7367) 2018-11-21 16:51:38 +01:00
KVS85 b9b027132f Fix std::codecvt<charXX_t...> marco to be used with VS 15.9 and extend MSVC2017_ONLY macro with VS 15.9 vesion (#7331) 2018-11-15 00:14:01 +03:00
Andrey Abramov 2a1542fdc2
Feature/arangosearch pk endianness (#7306) (#7312)
* refactor arangosearch pks

* minor refactoring

* store PK as BigEndian since it leads to more compact index representation

* force iresearch to not to use libbfd

* fix tests
2018-11-14 15:56:40 +03:00
Andrey Abramov 6b7ea6cb9b
Feature/arangosearch optimize documents reading (#7280) (#7284)
* optimize reading documents from arangosearch index

* simplify code

* get rid of useless interface

* even more simplifications

* update iresearch to commit 40128bf50cea3546313fbfd71e5a32bb88e418a2

* optimize PK reading

* cleanup

* minor refactoring

* address review comments

* micro optimization
2018-11-09 20:01:13 +03:00
Vasiliy 1ba23cd39b issue 496.5: backport 3.4: minor API cleanup and error reportin enhancements, update iresearch to commit d69f7bd184e009da7bf0a478efd34a0c85b74291 (#7217)
* issue 496.5: backport 3.4: minor API cleanup and error reportin enhancements, update iresearch to commit d69f7bd184e009da7bf0a478efd34a0c85b74291

* add workaround for shell-collection-rocksdb-noncluster.js::testSystemSpecial test failure

* fix typo
2018-11-05 16:17:41 +03:00
Vasiliy 850919178f issue 496.3: backport 3.4: move more coordinator-related logic out of TRI_vocbase_t, rename some arangosearch view configuration parameters, remove some consolidation policies, update iresearch to revision 6fd9760d81b136f769e277ea5b8f53996ed7a1ca (#7167)
* issue 496.3: backport 3.4: move more coordinator-related logic out of TRI_vocbase_t, rename some arangosearch view configuration parameters, remove some consolidation policies, update iresearch to revision 6fd9760d81b136f769e277ea5b8f53996ed7a1ca

* address merge issue

* backport: remove code causing nullptr access

* invalidate payload for each field in FieldIterator before setting a value

* address compilation issues
2018-11-01 23:12:39 +03:00
Andrey Abramov 8225003861
[3.4] arangosearch speedup removals (#7158)
* Feature/arangosearch speedup removals (#7134)

* speedup document removals and optimize data model

* fix invalid constexpr

* reduce number of heap allocations for removals (#7157)
2018-10-31 15:54:16 +03:00
Simon c644adc7da Fix undefined behaviour (#7109) 2018-10-29 18:59:51 +01:00
Andrey Abramov fdb660ec1b
update codebase (#7124) 2018-10-29 16:59:42 +03:00
Simon 78132bc2e5 Next try at truncate (#7090) (#7096) 2018-10-26 15:06:36 +02:00
Andrey Abramov 0c6cf212e3
[3.4] fix ASAN issues in arangosearch (#7027)
* update iresearch

* update iresearch
2018-10-23 22:30:15 +03:00
Simon 8b19d40136 Properly compare velocypack objects in Agency operations (#6922) 2018-10-23 11:52:22 +02:00
Andrey Abramov dc98852dda
Bug fix 3.4/internal issue #2921 (#7008)
* issue 494: update iresearch to changeset 6ff909851c760c2111dca5074ab17d35114bee97 (20181022)

* issue 2921: make error message more detailed (#7004)

* issue 2921: make error message more detailed

* upgrade iresearch

# Conflicts:
#	arangod/RestHandler/RestViewHandler.cpp

* fix compilation

* and another fix
2018-10-23 02:41:25 +03:00
Andrey Abramov 2b46285b3b
Feature/backport arangosearch 3.4 (#6985)
* issue 485.1: reduce scope of lock in FlushFeature (#6943)

* issue 493.1: update iresearch to changeset 15f561dee5865ead83663ef056d7bbcc38636fb2 (#6947)

* issue 493.2: trigger termination of long-running consolidation on shutdown request

* Feature/update iresearch 2 (#6984)

* update iresearch sources

* another update

* update iresearch

* fix segfault in log message

* update iresearch

* update iresearch

* update iresearch

* remove noexcept

* improve logging

* update iresearch
2018-10-20 13:24:29 +03:00
Simon c2b6fb99ba Propper commit Sequence Numbers (#6958) 2018-10-18 18:25:34 +02:00
Tobias Gödderz 89b15b40e3 Fix compile error on clang (#6883) 2018-10-15 15:58:36 +03:00
Andrey Abramov 4ef4e1119a
backport new arangosearch to 3.4 (#6874)
* backport new arangosearch

* backport tests

* backport another test

* backport changes in cmake
2018-10-13 01:27:31 +03:00
Simon 010b54c81e Allow WAL logger to split up transactions (#6800) 2018-10-12 15:15:55 +02:00
Jan 3adaf001c5
velocypack library update (#6850) 2018-10-12 12:46:52 +02:00
jsteemann b7f4347f1f remove sddsd 2018-10-12 12:26:10 +02:00
jsteemann dca4615c3f when returning memory to the OS, use some memory protection flags as when initializing the memory
this prevents "hole punching" and keeps the OS from splitting one memory mapping into multiple mappings with different protection settings
2018-10-02 11:36:55 +02:00
Jan 186f308565
forward-port some RocksDB bugfix (#6671) 2018-10-02 09:52:59 +02:00
Wilfried Goesgens fbd2ca2e79 Feature 3.4/windows utf16 fileaccess (#6600) 2018-10-01 17:19:01 +02:00
Simon 0487050c09 Do not retry connect on canceled connections (#6560) 2018-09-20 17:13:25 +02:00
Jan ec4a4d9a59
forward-port range deletion fix from upstream RocksDB (#6536) 2018-09-19 13:56:32 +02:00
jsteemann 917e559815 attempt to fix failing MSVC build 2018-09-12 20:09:58 +02:00
jsteemann 66cceb3c37 remove submodule 2018-09-03 15:37:26 +02:00
Simon 3eed525481 Hide links (#6348) 2018-09-03 15:36:37 +02:00