Jan Steemann
b7abf5a40d
attempt to fix Windows build
2016-02-01 12:04:28 +01:00
jsteemann
349a6d9754
more logging
2016-01-31 21:48:59 +01:00
jsteemann
b635983d9c
removed unused functions and headers
2016-01-31 19:08:39 +01:00
jsteemann
353c9732b7
removed last LOG_xxx macros
2016-01-30 04:03:18 +01:00
jsteemann
ff21453255
logger transition: all files in arangod exception transactions.cpp
2016-01-29 23:28:44 +01:00
Jan Steemann
585208afcf
changed directory name pattern for collections
2016-01-27 18:53:16 +01:00
Jan Steemann
9046e1831b
clang-format
2016-01-27 13:43:46 +01:00
Jan Steemann
3d8a52cdf4
some refactoring
2016-01-27 13:28:19 +01:00
jsteemann
379abd64c3
removed outdated upgrading function
2016-01-21 00:29:56 +01:00
jsteemann
842384016d
namespace cleanup
2016-01-21 00:20:22 +01:00
jsteemann
ef67a496e6
more checks & asserts, C API cleanup
2016-01-20 22:08:11 +01:00
jsteemann
431900f17a
changed namespace from triagens to arangodb
2016-01-17 00:44:53 +01:00
Jan Steemann
bb3703cf9e
fix recovery
2016-01-12 20:47:02 +01:00
Jan Steemann
a119837c3e
fixed journalSize handling for collections
2016-01-12 19:41:39 +01:00
jsteemann
9f0576c65f
don't rely so much on namespace std being present
2016-01-08 01:05:06 +01:00
Jan Steemann
3ad20c0cae
auto-generated headers
2016-01-06 18:41:51 +01:00
Jan Steemann
a3b026d9d1
removed useless sections from code, unified include guards
2016-01-06 14:15:22 +01:00
Jan Steemann
f422576ee0
clang-format
2016-01-05 17:43:24 +01:00
Frank Celler
6fbe632d08
fixed comparison
2016-01-05 12:36:53 +01:00
Max Neunhoeffer
c7f00bfeda
Continue work on TODOs.
2015-12-23 14:40:04 +01:00
Max Neunhoeffer
225c8cd843
Work on TODOs.
2015-12-22 16:50:09 +01:00
Jan Steemann
80c7645146
one more try
2015-12-22 13:10:43 +01:00
Jan Steemann
e2e483e06a
potential fix
2015-12-22 12:34:48 +01:00
Max Neunhoeffer
b37c8fb5a2
Fix js/common/tests/shell-collection.js in cluster.
2015-12-21 11:05:02 +01:00
jsteemann
a058699312
use std::make_shared
2015-12-18 23:34:18 +01:00
Jan Steemann
c701a8e66e
Merge branch 'vpack' of https://github.com/arangodb/arangodb into vpack
2015-12-18 12:13:17 +01:00
Jan Steemann
ba2ed30093
fix collection creation
2015-12-18 11:35:15 +01:00
Michael Hackstein
506c8f9be2
Constified the keyOptions buffer. No one should ever change it's content once it is stored in the VocbaseCollectionInfo.
2015-12-18 09:34:56 +01:00
Jan Steemann
e8084e3ef4
Merge branch 'vpack' of https://github.com/arangodb/arangodb into vpack
2015-12-17 15:45:53 +01:00
Jan Steemann
7dd4cab103
potential fix for server start
2015-12-17 15:40:20 +01:00
Michael Hackstein
3c4643993d
Fixed JS constructor for Edge Collections. The collection did not mention that it wants to be an edge collection
2015-12-17 15:06:20 +01:00
Michael Hackstein
cd93e959bd
Fixed compiler warnings
2015-12-17 14:07:55 +01:00
Michael Hackstein
c7b327e7de
Fixed access to uninitialized variables
2015-12-17 14:03:43 +01:00
Michael Hackstein
46b9ac5c53
Fixed collection constructor from name
2015-12-17 13:24:45 +01:00
Michael Hackstein
b992423d1e
Changed default type value for collections if not given in the JSON object on disc
2015-12-17 12:41:40 +01:00
Jan Steemann
2b3f3f997b
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-17 10:59:30 +01:00
Michael Hackstein
73f3ddc753
Finished with first move to VocbaseCollectionInfo class. This commit compiles but it is untested.
2015-12-16 19:03:07 +01:00
Michael Hackstein
41d7fbb803
First draft of class implementation of TRI_col_info_t
2015-12-16 11:46:55 +01:00
jsteemann
1e98af01ba
set cloexec for file descriptors
2015-12-15 20:30:28 +01:00
Michael Hackstein
ba1a520e8c
Fixed a bug in Vocbase collection to VPack. It did not include the collection properties properly
2015-12-11 08:35:44 +01:00
Michael Hackstein
c959072733
Adaption to new vocbase-defaults format
2015-12-10 16:42:13 +01:00
Michael Hackstein
eb417a2ef3
Removed TRI_json_t from vocbase main file
2015-12-10 15:30:36 +01:00
Michael Hackstein
02784df7f8
Updated file list function to use std::vector<std::string> instead of TRI_string_vector_t.
2015-12-08 15:10:03 +01:00
Michael Hackstein
19343fb0da
Added a helper function to init collection info from VelocyPack
2015-12-07 14:23:31 +01:00
Jan Steemann
a3e4a2f863
removed some includes
2015-11-11 15:16:37 +01:00
Jan Steemann
496e1cbc0f
do not use strdup()
2015-11-03 10:21:35 +01:00
Frank Celler
3500e569a8
reverted 011117edee
, 72c8847324
, 5da5715fa9
, a371aac4af
, 7decf1560a
, 0331ff7993
, 6ec2014052
, ae8d686ae6
, 7efd0a1ec7
, 3449b87e2c
, d35a4034ef
, 7b3c1ed4dd
, e0c88e4a1a
, 952d643101
, fc9de8ed08
, 2f4319b31a
, 105662d5ba
, 0a08833b0f
, 4ac19a99fc
, 4c5494c67d
, 528bb85b30
, 528bb85b30
becuase of missing CLA
2015-11-03 10:19:25 +01:00
CoDEmanX
b4593a7e82
Change spelling of 'initialize' to American English (comments and log messages only)
2015-09-01 17:07:21 +02:00
Max Neunhoeffer
c0f1b72bab
Add "sensible" madvise calls.
...
Essentially the strategy is: A newly created and a newly opened file
is advised to be "SEQUENTIAL ACCESS", because we will either write to
it or scan it sequentially. As soon as it is sealed, we switch the
advice to "RANDOM ACCESS", because this should be the normal pattern and
aggressive read-aheads tend to be bad. The collector and the compactor
switch a sealed file back to "SEQUENTIAL ACCESS" just before they scan
it and back to "RANDOM ACCESS", when they are done.
Furthermore, all data files in a collection are advised with "WILLNEED"
just before the collection is scanned during loading.
Finally, the actual hash table of AssocMulti is advised to be random
access, although this is an anonymous map given to us by malloc and not
a memory mapped file.
2015-08-26 16:45:26 +02:00
Jan Steemann
907e6368c6
some unused function cleanup
2015-08-17 12:43:09 +02:00