Jan Steemann
7c4944de83
added --server.ssl-protocol option for client tools
...
Conflicts:
arangosh/Benchmark/BenchmarkThread.h
lib/GeneralServer/SslAsyncCommTask.h
2013-12-13 17:58:24 +01:00
Jan Steemann
e7ba403998
added --server.ssl-protocol option for client tools
2013-12-13 17:53:51 +01:00
Max Neunhoeffer
317304542a
Remove index garbage collector.
2013-11-25 10:57:23 +01:00
Max Neunhoeffer
0d267e4549
Remove remaining traces of skiplistEx
2013-11-25 10:39:02 +01:00
Frank Celler
e1652be8d2
install only system, do not create directory
...
Conflicts:
Makefile.in
2013-11-23 15:54:35 +01:00
Frank Celler
55c033ef93
install only system, do not create directory
2013-11-23 13:55:37 +01:00
Jan Steemann
9a1aa7a4cc
removed superfluous error codes
2013-11-22 13:49:05 +01:00
Max Neunhoeffer
082dce4f81
Report a unique constraint violation via TRI_set_errno.
2013-11-22 13:14:59 +01:00
Max Neunhoeffer
3aa1b12a45
Merge branch 'skiplist-cleanup' into devel
...
This implements a considerable cleanup of the skip list index code:
- Replace implementation of skip lists by a generic one using
callbacks for comparisons
- The new implementation resides in lib/BasicsC/skip-list.*
- It uses a singly linked list (unidirectional) as opposed to the
previous implementation which used a doubly linked list
- Adjust skip list index code in arangod/SkipLists/skiplistIndex.* to
use the generic skip list implementation
- Unify unique skip lists and non-unique ones into one code base
- Cleanup in skip list index code, in particular with respect to
iterators
- Prepare the scene for sparse skip list indices
2013-11-22 10:47:04 +01:00
Jan Steemann
e79134799c
mini optimisations for shaping
2013-11-22 02:41:39 +01:00
Jan Steemann
0deaf30ff0
added assertion
2013-11-21 22:56:48 +01:00
Jan Steemann
7e8d73fe43
added assertion
2013-11-21 22:54:06 +01:00
Jan Steemann
cbd2bbf2b1
fixed some multi-thread issues
2013-11-21 15:14:46 +01:00
Jan Steemann
1bdf666da2
fixed multi-threading issues found during commando
2013-11-21 15:12:49 +01:00
Jan Steemann
73afd9bfa1
fixed comment
2013-11-20 23:06:18 +01:00
Jan Steemann
436b47eb0c
removed unnecessary shaper attribute from struct
2013-11-20 12:38:47 +01:00
Jan Steemann
0fe4c7b090
fixed shape compaction
2013-11-20 12:02:13 +01:00
Max Neunhoeffer
0dfe6b1126
Add a sparse argument to the creation of a skiplist index.
2013-11-20 11:16:28 +01:00
Frank Celler
f35347098b
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2013-11-20 09:20:51 +01:00
Frank Celler
d5b608cb79
cosmetics
2013-11-20 09:19:58 +01:00
Jan Steemann
8fea8ca1b3
changed write-locks
2013-11-20 01:27:45 +01:00
Jan Steemann
95c341e910
issue #662 : ArangoDB on Windows hanging
2013-11-19 16:35:14 +01:00
Jan Steemann
af6da9a652
issue #662 : ArangoDB on Windows hanging
2013-11-19 16:27:26 +01:00
Max Neunhoeffer
b94359e31c
Get rid of the distinction between unique and multi skiplist indices.
...
This is the change outside the actual skiplist index code.
2013-11-19 11:55:25 +01:00
Frank Celler
9f8f4cd4fd
destroy can only be called if initialised
2013-11-18 18:40:13 +01:00
Frank Celler
b58347138f
destroy can only be called if initialised
2013-11-18 18:39:18 +01:00
Max Neunhoeffer
93e3807daa
Remove unneeded include of old skip-list.h
2013-11-18 15:09:01 +01:00
Jan Steemann
72aaacbb54
removed priority queues
...
this feature was never advertised nor documented nor tested.
2013-11-18 11:12:36 +01:00
Jan Steemann
4c065be21a
do not migrate shapes of empty collections
2013-11-15 19:40:31 +01:00
Jan Steemann
ab5f0c64c5
Merge remote-tracking branch 'origin/inline-shapes' into devel
2013-11-14 23:37:29 +01:00
Jan Steemann
d201416ac5
shape migration
2013-11-14 23:30:49 +01:00
Jan Steemann
2bacadfd34
indentation
2013-11-14 23:29:08 +01:00
Max Neunhoeffer
aeb98abf7f
More cleanup of skiplist indices.
...
Get rid of only partially used constants in skiplist.h.
Streamline multi skiplist code.
Finish removal of skiplistEx code.
Remove further unused static function.
Remove unused default argument in comparison function.
2013-11-14 14:22:20 +01:00
Jan Steemann
ea59a12883
improve error message on startup
2013-11-14 10:38:21 +01:00
Jan Steemann
5b39060b8a
improve error message on startup
2013-11-14 10:37:48 +01:00
Jan Steemann
c5e9538547
Merge remote-tracking branch 'origin/devel' into inline-shapes
...
Conflicts:
arangod/VocBase/document-collection.c
2013-11-14 01:01:24 +01:00
Jan Steemann
02a793f5ae
improve error messages on startup
2013-11-14 00:55:36 +01:00
Jan Steemann
1e347a0d19
track aligned shape sizes instead of unaligned sizes
2013-11-13 23:00:22 +01:00
Jan Steemann
3695b2ab3a
don't wait long in compactor if compaction lock cannot be acquired instantly
2013-11-13 21:01:43 +01:00
Jan Steemann
9a70b418b0
don't wait long in compactor if compaction lock cannot be acquired instantly
2013-11-13 20:57:52 +01:00
Max Neunhoeffer
a8bb2c48a3
Slightly clean up skiplist index stats in getIndexes.
2013-11-13 13:52:52 +01:00
Max Neunhoeffer
e257f9dd92
Add the option to return numUsed for each index in getIndexes.
...
This is currently implemented only for skip list indices and hash
indices, but not for full text, geo or bitarray, since these do not
export or even count this number.
2013-11-13 12:49:23 +01:00
Jan Steemann
a84fdacebf
issue #665 : Hash/skiplist combo madness bit my ass
2013-11-11 16:42:56 +01:00
Jan Steemann
a31fa45f90
switch order of rollback operations
2013-11-11 16:42:38 +01:00
Jan Steemann
40894ad258
removed unused definition
2013-11-11 16:39:11 +01:00
Jan Steemann
303abcc60d
issue #665 : Hash/skiplist combo madness bit my ass
2013-11-11 16:38:38 +01:00
Jan Steemann
b131dc5a25
issue #662 : ArangoDB on Windows hanging...
2013-11-11 14:29:53 +01:00
Jan Steemann
52bfdf563c
fixed broken call
2013-11-11 13:54:29 +01:00
Jan Steemann
dc82642998
issue #662 : ArangoDB on Windows hanging...
...
fix unloading of collections which prevented some collections from being dropped
2013-11-11 13:51:58 +01:00
Jan Steemann
af41a6d634
renamed parameter
2013-11-11 10:41:24 +01:00
Jan Steemann
f69ae8f2a9
do not access shaper but use memory zone variable
2013-11-08 13:42:16 +01:00
Jan Steemann
cfa6f98a01
shape upgrade
2013-11-06 18:17:48 +01:00
Jan Steemann
7055299a6e
removed shape collections
2013-11-06 17:05:16 +01:00
Jan Steemann
241ad73940
fixed test
2013-11-06 10:16:26 +01:00
Jan Steemann
d30ca7b658
added `/_api/database/user` method
2013-11-06 09:34:44 +01:00
Jan Steemann
978c12815a
share basic shape types
2013-11-05 20:21:48 +01:00
Jan Steemann
a977c5662a
removed --database.force-sync-shapes option
2013-11-05 18:20:55 +01:00
Jan Steemann
7924f657d4
added `/_api/database/user` method
2013-11-04 14:22:00 +01:00
Jan Steemann
b720b49a8c
issue #642 : renamed macro from TRI_WARN_UNUSED to TRI_WARN_UNUSED_RESULT
2013-10-30 12:19:26 +01:00
Jan Steemann
00e6f2fc2c
print error details
2013-10-30 12:12:32 +01:00
Jan Steemann
188e154566
print error details
2013-10-30 12:11:32 +01:00
Jan Steemann
08855d5990
added collection status "loading"
2013-10-29 22:35:07 +01:00
Jan Steemann
c751cc80fc
issue #642
2013-10-29 21:15:46 +01:00
Frank Celler
ebca4c601e
Merge remote-tracking branch 'origin/devel' into 1.4
2013-10-29 11:18:27 +01:00
Jan Steemann
02736666b1
fixed small memleak
2013-10-29 11:10:13 +01:00
Frank Celler
d33bcdc623
rc1
2013-10-28 17:54:24 +01:00
Jan Steemann
72a2a487d3
some fixes for issue #642
2013-10-28 14:34:37 +01:00
Frank Celler
4324d54232
cosmetics
2013-10-27 10:33:34 +01:00
Jan Steemann
f498f8f03c
faster server shutdown
2013-10-18 10:18:46 +02:00
Jan Steemann
30ed696fc1
open databases in deterministic order
2013-10-18 09:28:17 +02:00
Jan Steemann
21d25d0ccc
removed resourceholder
2013-10-17 10:43:07 +02:00
Jan Steemann
0a6148f2d6
fixed some VS complaints
2013-10-16 17:27:35 +02:00
Jan Steemann
473a9fca97
directory creation on startup
2013-10-16 16:00:49 +02:00
Jan Steemann
cd5d228e77
moved path checks from --upgrade to server start and database creation
2013-10-16 15:30:13 +02:00
Frank Celler
be162a1e35
Merge branch 'devel' of github.com:triAGENS/ArangoDB into 1.4
...
Conflicts:
CHANGELOG
Documentation/Manual/NewFeatures14.md
Documentation/Manual/NewFeatures14TOC.md
Documentation/Manual/Upgrading14.md
js/apps/system/aardvark/api-docs/collection.json
js/apps/system/aardvark/api-docs/cursor.json
js/apps/system/aardvark/api-docs/database.json
js/apps/system/aardvark/api-docs/document.json
js/apps/system/aardvark/api-docs/edge.json
js/apps/system/aardvark/api-docs/edges.json
js/apps/system/aardvark/api-docs/endpoint.json
js/apps/system/aardvark/api-docs/graph.json
js/apps/system/aardvark/api-docs/index.json
js/apps/system/aardvark/api-docs/job.json
js/apps/system/aardvark/api-docs/replication.json
js/apps/system/aardvark/api-docs/simple.json
js/apps/system/aardvark/api-docs/system.json
js/apps/system/aardvark/api-docs/traversal.json
2013-10-14 14:00:29 +02:00
Jan Steemann
79f70c7eea
replication applier will now preferrably use collection names instead of collection ids when applying events
2013-10-14 13:45:44 +02:00
Jan Steemann
4f30db9eda
remove database-specific directories underneath app-path and dev-app-path when dropping databases
2013-10-14 10:35:32 +02:00
Jan Steemann
53e601c6d8
fixed alignment in compaction
2013-10-10 18:19:53 +02:00
Jan Steemann
6a353a4c38
resolve collection names on reimport
2013-10-10 12:33:27 +02:00
Jan Steemann
cc14fb039a
fix some VS warnings
2013-10-09 14:05:36 +02:00
Jan Steemann
0c15f387ae
added collection id translation for dumps
2013-10-09 13:46:12 +02:00
Jan Steemann
f5fb585137
removed superfluous parameter
2013-10-09 13:45:37 +02:00
Jan Steemann
dde1db5594
added assertion
2013-10-09 09:45:49 +02:00
Jan Steemann
eb2d37d7e0
keep deletions in compaction
2013-10-09 09:44:02 +02:00
Jan Steemann
4e5fd904f9
fixed error message
2013-10-08 13:55:53 +02:00
Jan Steemann
436cc48f81
changed compaction procedure
...
first determine total size for target compaction file, after that perform the actual compaction
this should fix a problem under Windows where ftruncate is not called
2013-10-07 16:23:59 +02:00
Jan Steemann
4a6ed076e1
added out-of-bounds check for datafile writing
2013-10-07 16:23:36 +02:00
Jan Steemann
e5bde25f3b
make source database name configurable for replication applier
2013-10-01 17:36:30 +02:00
Jan Steemann
a5014d64ff
fixes for VC
2013-10-01 10:58:41 +02:00
Jan Steemann
413e038045
fixed race conditions on index file creation
2013-09-30 10:58:00 +02:00
Jan Steemann
e3d9d95f3f
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
...
Conflicts:
arangod/RestServer/ArangoServer.cpp
lib/Admin/ApplicationAdminServer.cpp
lib/GeneralServer/GeneralServerDispatcher.h
2013-09-26 17:46:05 +02:00
Jan Steemann
467a236187
re-added cache for HTTP authentication data
2013-09-26 11:26:34 +02:00
Jan Steemann
d42d497a54
updated docs
2013-09-26 09:57:02 +02:00
Jan Steemann
106fedd615
several errors fixed
2013-09-26 09:44:50 +02:00
Jan Steemann
4969328940
removed unused define
2013-09-25 10:26:03 +02:00
Jan Steemann
2e75c872f4
persist list of endpoints
2013-09-23 13:14:54 +02:00
Jan Steemann
8a9ce4e86d
fixed memory allocation inefficiency
2013-09-20 17:26:26 +02:00
Jan Steemann
b8236bc218
replaced numFields
2013-09-20 08:27:03 +02:00
Jan Steemann
fe667646c0
less memory usage
2013-09-19 12:29:29 +02:00
Jan Steemann
f2810fe9fc
removed unused property
2013-09-19 11:56:25 +02:00
Jan Steemann
370a1bc5a4
less memory usage
2013-09-19 11:46:21 +02:00
Jan Steemann
3863b7ec70
use command-line parameters
2013-09-19 09:13:49 +02:00
Jan Steemann
5c0fd200f7
more OOM awareness
2013-09-19 08:44:12 +02:00
Jan Steemann
8a996c5b60
less dependency on regex.h, also fixes some speed problems for key validation
2013-09-19 08:20:35 +02:00
Jan Steemann
4aee2df2f3
force usage of --upgrade
2013-09-17 15:56:24 +02:00
Jan Steemann
28e302b4b0
upgrade only when started with --upgrade
2013-09-17 15:34:28 +02:00
Jan Steemann
0bdae05b96
changed reference counting for cursors
2013-09-16 13:51:33 +02:00
Jan Steemann
f99dde5f2e
reload routing after dropping database
2013-09-13 10:28:28 +02:00
Jan Steemann
2eb0871813
updated TODOs
2013-09-12 18:46:19 +02:00
Jan Steemann
6ff314de0e
runtime addition and removal of endpoints
2013-09-12 18:07:39 +02:00
Jan Steemann
4a2626525c
async dropping of databases
2013-09-12 11:00:11 +02:00
Jan Steemann
7d5e4f875f
runtime configuration of endpoints, unfinished
2013-09-11 18:24:51 +02:00
Jan Steemann
7caac08466
updated documentation
2013-09-11 17:25:45 +02:00
Jan Steemann
3a6cabfe44
creating/dropping
2013-09-11 17:16:43 +02:00
Jan Steemann
b27c71daa1
use database defaults properly
2013-09-11 13:26:55 +02:00
Jan Steemann
fde7793137
refactored database options
2013-09-11 13:22:52 +02:00
Jan Steemann
5bc1e5ecea
dropping databases, unfinished
2013-09-11 12:47:27 +02:00
Jan Steemann
42441b208f
refactoring of multiple databases, intermediate commit
2013-09-11 11:42:34 +02:00
Jan Steemann
ac4ed728c0
renamed collection `_graphs` to `arangodb_graphs`
2013-09-09 11:07:10 +02:00
Jan Steemann
05bdf94537
force lower-case database names
2013-09-05 12:43:03 +02:00
Jan Steemann
ca2f5feb4b
fixed redirect URLs
2013-09-04 17:30:37 +02:00
Jan Steemann
897412b4de
initial dropping of databases
2013-09-04 13:04:13 +02:00
Jan Steemann
bae9f097fc
added _dropDatabase()
2013-09-02 18:04:19 +02:00
Jan Steemann
1af5aa6b45
block compaction & datafile removal while dumping
2013-08-30 17:25:09 +02:00
Jan Steemann
2556b0714f
fixed issues reported by VS 2012
2013-08-29 16:43:56 +02:00
Jan Steemann
e72c6ab20c
fixed a memleak in /_api/replication/dump
2013-08-29 11:46:33 +02:00
Jan Steemann
7cb6b7d922
simplified build.h stuff
2013-08-28 19:57:07 +02:00
Jan Steemann
120ed17d2e
fixed rotation
2013-08-27 15:18:52 +02:00
Jan Steemann
75c83a22de
fixed rotation
2013-08-27 15:07:29 +02:00
Jan Steemann
d30e407c4a
only create new journal file when requested
...
make collection.rotate() publicly available
2013-08-27 14:39:28 +02:00
Jan Steemann
6a62a098db
changed compaction to merge small files together and clean up more
2013-08-27 12:19:10 +02:00
Jan Steemann
6f988e7b67
remove dead files on startup
2013-08-27 12:17:01 +02:00
Jan Steemann
be363ecf3d
fixed clang warning
2013-08-26 21:24:43 +02:00
Jan Steemann
198bc28204
fixed memleak
2013-08-26 16:14:36 +02:00
Jan Steemann
38abd5bf9e
issue #576
2013-08-21 14:02:09 +02:00
Jan Steemann
3141ec134b
issue #582 : ifdef'd unused feature
2013-08-21 12:53:30 +02:00
Jan Steemann
3871fb7af3
improved error messages
2013-08-20 11:48:08 +02:00
Jan Steemann
52b494e10f
show dbname in error messages
2013-08-20 09:43:19 +02:00
Jan Steemann
9eb1752a7e
use AQL LIMIT but still return the unlimited count value
...
Still needs documentation and tests
2013-08-19 18:41:00 +02:00
Jan Steemann
bfc6648588
added server startup options `--server.disable-replication-logger` and `--server.disable-replication-applier`
2013-08-02 16:17:51 +02:00
Jan Steemann
0cee230680
commented some unused attribute
2013-08-02 15:33:52 +02:00
Jan Steemann
5f1bfcf9cd
documentation for replication
2013-08-02 15:28:30 +02:00
Jan Steemann
e86fff18e2
added chunkSize for replication-applier
2013-08-02 11:03:54 +02:00
Jan Steemann
9b6b6e669d
added `totalEvents` for logger
2013-08-02 10:11:13 +02:00
Jan Steemann
d8690e5fa6
make collection revision id a real revision id
2013-08-02 09:37:46 +02:00
Jan Steemann
e739089280
extended tests
2013-08-01 17:57:24 +02:00
Jan Steemann
da7f8ecf44
fixed shutdown
2013-08-01 16:59:50 +02:00
Jan Steemann
f1418ec667
updated tests and docs
2013-08-01 16:53:29 +02:00
Jan Steemann
4737b7ad23
fixed ERROR message on startup
2013-08-01 16:02:32 +02:00
Jan Steemann
949c194653
updated replication configuration
2013-08-01 15:50:30 +02:00