jsteemann
ab21b0b1ff
move functionality into engine
2017-02-09 14:50:41 +01:00
Michael Hackstein
dfc9f29e69
Moved FunctionDefinitions to an AqlFunctionFeature. This now has a defined startup ordering
2017-02-08 15:45:59 +01:00
Michael Hackstein
7cec7a4628
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-02-08 12:54:26 +01:00
Michael Hackstein
d47298d518
Removed JS_NEAR, JS_FULLTEXT, JS_WITHIN entirely. They have been replaced by simple queries
2017-02-08 12:54:10 +01:00
jsteemann
1555b0a453
move engine-specific things out of public API
2017-02-07 17:36:53 +01:00
jsteemann
5bc2a3680c
move some MMFiles-specific things into MMFiles directory
2017-02-07 16:38:04 +01:00
jsteemann
2c9e220f03
refactoring
2017-02-07 14:36:03 +01:00
jsteemann
600af50bb1
added convenience method collectionName
2017-02-07 12:05:36 +01:00
jsteemann
4fccb56f93
make TransactionState a class and privatize some of its internals
2017-02-07 11:58:34 +01:00
jsteemann
4a7c3734e0
remove friend class declaration
2017-02-07 11:45:50 +01:00
jsteemann
3b1e3fac52
make TransactionCollection more engine-specific
2017-02-07 11:24:58 +01:00
Michael Hackstein
a3aa963743
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-02-06 17:44:53 +01:00
Michael Hackstein
44647f2392
Moved Fulltext and geo functions into MMFiles StorageEngine and allowed the engines to register specific functions.
2017-02-06 17:44:17 +01:00
Jan Christoph Uhde
eddfaa9e83
add some comment and inspect interface
2017-02-06 16:14:04 +01:00
jsteemann
e2a312450f
fix out-of-memory handling at startup
2017-02-01 13:00:05 +01:00
Michael Hackstein
55e0f63fec
Moved major Index-creation out of LogicalCollection into the StorageEngine Specific IndexFactory.
2017-01-29 15:08:26 +01:00
Michael Hackstein
0027bc54c8
Create a StorageEngine-specific IndexFactory. Moved EnhanceIndexJson v8 -> IndexFactory.
2017-01-28 21:19:50 +01:00
Michael Hackstein
786ab413f8
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-01-25 13:20:24 +01:00
Michael Hackstein
ce6d3b3492
The Fulltext index now return DocumentIdentifierTokens instead of revisions. Removed one inderection rid <-> Index_doc which were a typedef.
2017-01-25 13:20:15 +01:00
jsteemann
97ccfc9efc
remove useless includes
2017-01-25 12:00:57 +01:00
Michael Hackstein
2133b1448c
Moved index API to return DocumentIdentifierTokens which are independent of the underlying storage engine. The agreement is, that the Engine gives a uint64_t sized identifier which allows to fetch any document back again. For MMFiles Engine this identifier is the revision.
2017-01-24 18:19:25 +01:00
jsteemann
7fedb4e956
moved files into engine directory
2017-01-23 13:52:57 +01:00
Michael Hackstein
92ad574c97
Moved Indexes to StorageEngine
2017-01-23 13:32:23 +01:00
jsteemann
952c3f848e
factored out transaction manager from logfile manager
2017-01-23 12:31:45 +01:00
jsteemann
f9fb701505
moved LogfileManager into engine
2017-01-23 10:30:55 +01:00
jsteemann
43f46d1537
another attempt to fix TRI_ERROR_LOCK_TIMEOUT issues
2017-01-20 08:14:22 +01:00
jsteemann
1b1dacd873
fixed issues with same revisions being inserted
2017-01-19 17:14:38 +01:00
jsteemann
2032d61039
added optional cache cleanup during collection load
2017-01-18 11:58:38 +01:00
jsteemann
cdabaa931f
renaming
2017-01-16 14:48:13 +01:00
jsteemann
ea05cf5a94
some refactoring
2017-01-16 11:11:44 +01:00
jsteemann
8e18617e29
simplifications
2017-01-12 11:37:52 +01:00
jsteemann
ac3309ce5d
some simplifications
2017-01-11 13:10:42 +01:00
jsteemann
aea9cfae7c
shorten critical section code
2017-01-09 11:11:55 +01:00
jsteemann
eac2756829
small fixes
2017-01-09 10:17:29 +01:00
jsteemann
e9f4bd94c4
removed diagnostics
2017-01-06 17:13:05 +01:00
jsteemann
d5c871564a
force closing collection
2017-01-06 16:29:23 +01:00
jsteemann
e4ff3a3611
attempt to fix spurious "permission denied" errors on Windows
2017-01-06 14:35:44 +01:00
jsteemann
5b8fdf99a4
more diagnostics
2017-01-06 10:52:03 +01:00
jsteemann
25a84faa54
diagnostics
2017-01-06 10:11:46 +01:00
jsteemann
8d3f411cae
remove non-fix
2017-01-05 16:51:52 +01:00
jsteemann
91d486d1da
more diagnostics
2017-01-05 15:50:21 +01:00
jsteemann
190c399e0c
removed some dead code
2017-01-05 15:35:50 +01:00
jsteemann
f413b8383d
more diagnostics
2017-01-05 11:50:15 +01:00
jsteemann
5c2dd7d54e
also print system error
2017-01-05 10:57:01 +01:00
jsteemann
3c9d71fdcf
performance fix for locks
2017-01-02 15:36:43 +01:00
jsteemann
dea26c02a9
fix invalid logical expression
2016-12-27 18:44:15 +01:00
jsteemann
47cd7673d1
check return value of file storage function
2016-12-27 18:43:59 +01:00
jsteemann
940c23709b
fix unintended assertion side-effects
2016-12-27 18:21:54 +01:00
jsteemann
818ffbdc49
better error reporting
2016-12-19 14:55:52 +01:00
jsteemann
9b42e9cee6
some improvements for memory management
...
added more memory diagnostics for memory usage:
- collection.figures() now returns a "readCache" attribute which contains the
number of and memory usage of entries in the document revisions cache for the
collection, and a "revisions" attribute with the number and memory usage
of entries in the storage engine's revision lookup table for the collection
- the default value for --database.revision-cache-target-size was changed from
75% of RAM to 30% of RAM
2016-12-15 15:30:28 +01:00