jsteemann
2c54a6ac1e
added some basic transaction handling
2017-03-24 17:23:32 +01:00
jsteemann
2aa2fd65a4
more startup
2017-03-24 14:20:51 +01:00
jsteemann
2405ebee25
added diagnostic output
2017-03-23 14:16:26 +01:00
jsteemann
55c38befbf
enum databases, views and collections at startup
2017-03-23 11:52:22 +01:00
jsteemann
806c33eb1c
cleanup
2017-03-23 09:01:21 +01:00
Jan Christoph Uhde
7c7268b269
Try to load existing databases
2017-03-22 17:58:38 +01:00
Jan Christoph Uhde
e7202945dc
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-03-22 12:26:10 +01:00
Jan Christoph Uhde
d34f75548f
enable engine selection
2017-03-22 12:14:39 +01:00
jsteemann
fbb14ceffc
added db._engine()
2017-03-22 11:19:31 +01:00
Jan Christoph Uhde
58c1f3f70f
Work on RocksDBEngine and enable engine selection
2017-03-21 16:02:40 +01:00
jsteemann
0bb2711abb
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into views
2017-03-16 12:16:23 +01:00
jsteemann
7e7fe8bc21
discover views on startup
2017-03-15 14:48:10 +01:00
jsteemann
1a06f1e15e
initial functionality for views - unstable
2017-03-14 16:35:45 +01:00
Michael Hackstein
bf6f785415
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-03-13 17:31:51 +01:00
Michael Hackstein
1c33e77bd8
Moved unloadCollection callback into StorageEngine.
2017-03-13 17:28:08 +01:00
jsteemann
0a07bb3222
make RestWalHandler a handler of the MMFiles engine
2017-03-10 09:00:37 +01:00
jsteemann
f1ba4874fe
functionality for plugging REST handlers
2017-03-09 17:12:00 +01:00
jsteemann
010478ccd2
removed occurrences of mmfiles
2017-03-09 16:40:42 +01:00
Michael Hackstein
046793815c
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-03-09 16:37:51 +02:00
jsteemann
645889949c
move engine-specific V8 functions into storage engine
2017-03-09 12:59:44 +01:00
Michael Hackstein
90b4876d3c
Moved WriteMarker code Vocbase => MMFilesEngine. Also removed the decission to write a marker out of Vocbase-API
2017-03-09 11:12:39 +01:00
Michael Hackstein
489f0d12b8
Moved the decision to write a marker into the databaseFeature, it is not triggered from outside any more. Furthermore renameCollection write marker is now done in MMFiles.
2017-03-08 14:54:25 +01:00
jsteemann
57dd92902c
move engine-specific optimizer rules into engine
2017-03-07 13:10:58 +01:00
jsteemann
66192a4046
added assertion
2017-03-02 13:21:07 +01:00
jsteemann
42fccb69c6
remove dependency on MMFilesLogfileManager
2017-03-01 15:50:10 +01:00
Michael Hackstein
cac32a4d1d
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-02-28 14:59:13 +01:00
Michael Hackstein
df4eadac75
Replaced several specialized toVelocyPack functions of LogicalCollection by toVelocyPackIgnore(). Fixed distributeLike bug that occured through this.
2017-02-28 14:54:32 +01:00
jsteemann
ae751e7360
create engine-specific transaction context data
2017-02-27 17:05:30 +01:00
Jan Christoph Uhde
3467031cb9
remove transferMarkers from StorageEngine.h
2017-02-21 16:00:37 +01:00
Jan Christoph Uhde
d73d25a310
remove some includes
2017-02-21 14:43:21 +01:00
Jan Christoph Uhde
21cb8e3217
Merge branch 'engine-api' of github.com:arangodb/arangodb into obi-engine-api
...
* 'engine-api' of github.com:arangodb/arangodb:
Removed readRevision from LogicalCollection. You only get readDocument with a token. Moved it's logic into MMFilesCollection. removed the ignoreWal parameter from readDocumentConditional. It was always true anyways...
Moved pre-commit document modifications out of logical-collection into the physical collection. They are only relevant when actually writing to disc.
Moved useSecondaryIndexes check from Logical to MMFiles collection
Some cleanup in Logical collection imports
Moved index filling into the MMFiles collection
changelog
grunt build
css
ui: queries now using cursors api - issue #2065
remove crosscompile hack - it doesn't work anymore
updated CHANGELOG
add changlog entry for stacktrace log messages
clean up write lockers a bit
fix too early closing of sockets
Moved restoreIndex to Physical collection.
Fix a shell script used during build.
Lower log level to debug in shutdown message.
fix spelling
Moved saveIndex logic into the physical collection
fix potential deadlock
Conflicts:
arangod/MMFiles/MMFilesCollection.cpp
arangod/MMFiles/MMFilesCollection.h
arangod/VocBase/LogicalCollection.cpp
2017-02-18 19:10:45 +01:00
Jan Christoph Uhde
2d5e74f7f6
move journaize() to PhysicalCollection
...
MMFilesCollection ctor might be buggy
2017-02-17 20:06:47 +01:00
jsteemann
c652a313da
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-02-17 14:03:59 +01:00
jsteemann
3e7432ccd6
clean up write lockers a bit
2017-02-16 15:44:45 +01:00
Michael Hackstein
a3aae2e43b
Moved saveIndex logic into the physical collection
2017-02-16 12:53:05 +01:00
jsteemann
fbd7f5d265
simplfied APIs
2017-02-16 10:00:46 +01:00
jsteemann
d49c5c3fc0
simplified internal APIs a bit
2017-02-15 12:42:07 +01:00
jsteemann
112d07f6c2
protect all properties of TransactionState
2017-02-15 11:37:35 +01:00
jsteemann
c69eb0a7d5
protect some properties
2017-02-15 11:14:56 +01:00
jsteemann
b4027dc02c
make property protected
2017-02-15 10:41:34 +01:00
jsteemann
df3a3eff9f
refactoring
2017-02-15 10:26:05 +01:00
jsteemann
9efc1c7b61
moved transaction status into its own file
2017-02-13 17:28:02 +01:00
jsteemann
72fa7ac85d
move _hasOperations flag into engine
2017-02-13 17:07:49 +01:00
jsteemann
a184697072
move RocksDB-specific transactions into engine
2017-02-13 16:53:58 +01:00
jsteemann
7e690a0c61
renaming
2017-02-13 15:18:40 +01:00
jsteemann
16189aa969
moved TransactionHints.h
2017-02-13 14:36:27 +01:00
jsteemann
eb73dbf960
renaming
2017-02-13 13:30:57 +01:00
jsteemann
f09ec85127
renaming
2017-02-13 12:27:26 +01:00
Michael Hackstein
4b604d798f
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2017-02-13 10:49:36 +01:00
Jan Christoph Uhde
6249055f56
remove RocksDBEngine from EngineSelectorFeature
2017-02-13 10:44:13 +01:00
jsteemann
8b273b5eaf
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-02-13 08:37:41 +01:00
Jan Christoph Uhde
929390cee1
move index marker creation to storage engine
...
remove MMFilesLogfileManager from LogicalCollection
fix marker type
2017-02-10 15:14:34 +01:00
Jan Christoph Uhde
9131cde18b
Merge branch 'devel' of github.com:arangodb/arangodb into devel
...
* 'devel' of github.com:arangodb/arangodb:
fix another merge conflict
fix compile error after merge
remove logging for non-topics
Destroy all traverser engines when AQL is shut down.
2017-02-10 10:58:07 +01:00
Jan Christoph Uhde
7a66b0772a
clean up headers
2017-02-10 10:57:51 +01:00
jsteemann
103ceec2f5
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-02-10 09:43:23 +01:00
jsteemann
0850e8293a
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-02-10 09:34:55 +01:00
jsteemann
d024a6d00a
remove logging for non-topics
2017-02-10 09:32:50 +01:00
jsteemann
c314b9fdd3
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-02-10 09:12:28 +01:00
Jan Christoph Uhde
714dd3ee3a
rebase database-management
2017-02-09 18:47:20 +01:00
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