jsteemann
d024a6d00a
remove logging for non-topics
2017-02-10 09:32:50 +01:00
Frank Celler
cab6ac044d
fixed compile warning
2017-02-08 12:05:32 +01:00
jsteemann
01d3ad67b1
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-02-08 00:59:16 +01:00
Max Neunhoeffer
883c11ea45
Handle the case that ClusterComm is already shut down gracefully.
...
This touches every single place where ClusterComm is being used.
2017-02-07 15:31:40 +01:00
jsteemann
2c9e220f03
refactoring
2017-02-07 14:36:03 +01:00
jsteemann
d468fffdcb
fix problems with rollback
2017-02-07 13:04:27 +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
jsteemann
cbea3080c1
privatize TransactionCollection internals
2017-02-07 09:19:06 +01:00
jsteemann
37df6b069e
make most variables of TransactionCollection private
2017-02-07 09:09:25 +01:00
jsteemann
27113d2b8c
moved function into class
2017-02-07 08:55:20 +01:00
jsteemann
ab11410911
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-02-06 13:05:11 +01:00
Max Neunhoeffer
62521ee617
Fix synchronous replication.
...
It was possible that a follower got into sync after the list of
followers was retrieved, but before a single document was written.
This dropped this document for the new follower because the leader
forgot to replicate it. This lead to document loss in case of a
failover or planned leader change.
2017-02-03 16:51:51 +01:00
Michael Hackstein
7083671116
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-02-03 13:22:43 +01:00
Michael Hackstein
5e4b9e42b3
Fixed minor bugs in usage of callback-based index-api. Remove unused old next and nextBabies index iterator functions.
2017-02-03 13:22:06 +01:00
Michael Hackstein
703199bc32
Fixed compiler error from previous commit.
2017-02-02 15:42:35 +01:00
Michael Hackstein
d2b82165e2
Replaced trx->all|any with callback based IndexApi.
2017-02-02 15:32:00 +01:00
jsteemann
a1b3bfcc80
dont include ServerState when not needed
2017-02-02 10:16:53 +01:00
Michael Hackstein
d920788a7f
The new index-callback API returns if it has more elements or not
2017-02-01 17:33:52 +01:00
jsteemann
600bd60edd
fix MSVC compile warnings
2017-01-31 17:02:17 +01:00
jsteemann
cea0ecabad
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-01-30 09:03:55 +01:00
jsteemann
802c384448
renaming
2017-01-30 09:02:57 +01:00
Michael Hackstein
819ef4ae2c
Fixed failing index-creation tests after moving to IndexFactory.
2017-01-28 22:46:49 +01:00
jsteemann
65c45813e2
refactoring
2017-01-27 16:37:02 +01:00
jsteemann
4d5875f42f
refactoring
2017-01-27 15:57:22 +01:00
jsteemann
a1a829451c
refactoring
2017-01-27 13:52:23 +01:00
jsteemann
499add4735
refactoring
2017-01-27 12:11:44 +01:00
jsteemann
f0d4770879
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-01-27 11:16:37 +01:00
jsteemann
972496a2af
refactoring
2017-01-27 11:16:21 +01:00
Frank Celler
e0c00c6de6
improved statistics
2017-01-26 23:43:27 +01:00
jsteemann
3418cc193b
refactoring
2017-01-26 17:17:29 +01:00
jsteemann
0cb7d416d0
moved transaction collections into their own files
2017-01-26 16:51:57 +01:00
jsteemann
3cf0ee1329
moved Status into Transaction.h
2017-01-26 16:20:57 +01:00
jsteemann
277f014e9c
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-01-26 15:18:28 +01:00
jsteemann
02d8c0948b
renaming
2017-01-26 15:18:23 +01:00
jsteemann
20a2fd308b
speed up remove a bit
2017-01-26 12:49:34 +01:00
jsteemann
6a4842b229
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-01-25 16:30:33 +01:00
jsteemann
de41509d9d
factored out TransactionState
2017-01-25 15:55:01 +01:00
Michael Hackstein
00448bfc26
Transaction::invokeOnAllElements now works with a callback taken DocumentIdentifierTokens instead of IndexElements.
2017-01-25 15:03:08 +01:00
jsteemann
4e0a07411f
fix timeout
2017-01-25 13:28:53 +01:00
jsteemann
d7b131852c
factored out transaction hints
2017-01-25 13:12:09 +01:00
jsteemann
00b1632ece
factored out AccessMode from transaction.h
2017-01-25 11:57:21 +01:00
Michael Hackstein
78b83eefc4
Renamed => getMoreMptr in OpCursor to getMoreTokens, Removed default Parameter
2017-01-25 10:46:37 +01:00
Michael Hackstein
15bbfc7b0c
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-01-24 18:22:01 +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
37b73f7377
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-01-24 14:06:57 +01:00
Max Neunhoeffer
1ce3e995ee
Adjust timeout for sync. replication according to chunk size.
2017-01-24 13:55:19 +01:00
jsteemann
69c3d0ddb9
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-01-24 12:10:22 +01:00