Jan Steemann
2f58e4ea61
small cleanup
2015-03-25 12:42:44 +01:00
Jan Steemann
59053df10a
issue #1285 : allow bind parameter names starting with underscores
2015-03-24 18:43:53 +01:00
Jan Steemann
b98f8f7e29
fix initialization
2015-03-24 18:42:24 +01:00
Jan Steemann
0ceff3f1b0
added cluster tests
2015-03-24 18:28:55 +01:00
Jan Steemann
01745402f3
Merge branch 'devel' of https://github.com/arangodb/arangodb into data-modification
2015-03-24 14:34:20 +01:00
Jan Steemann
a3c0612798
added cluster tests
2015-03-24 14:34:09 +01:00
Willi Goesgens
44101c621d
Fix macos warning: declaring & calling in one line seems to be undeclared.
2015-03-24 11:33:19 +01:00
Jan Steemann
66e2273482
added documentation for UPSERT
2015-03-24 00:44:52 +01:00
Jan Steemann
cbee2c6466
Merge branch 'devel' of https://github.com/arangodb/arangodb into data-modification
2015-03-23 22:28:58 +01:00
Jan Steemann
7d5cc17d98
added tests
2015-03-23 22:28:26 +01:00
Willi Goesgens
486d86e0cb
add new file from a1af44bf4900600f54d4b8dc233429df488633db to CMake too.
2015-03-23 17:47:34 +01:00
Jan Steemann
ac44597788
removed unused files
2015-03-23 15:46:31 +01:00
Jan Steemann
c62c26e088
Merge branch 'devel' of https://github.com/arangodb/arangodb into data-modification
2015-03-23 15:31:41 +01:00
Jan Steemann
e3bf1c709c
upsert blocks
2015-03-23 15:31:07 +01:00
Frank Celler
4c5d57f1b8
merged Exceptions.h and Exception.h
2015-03-23 14:05:19 +01:00
Frank Celler
3c52dcde6d
changed _api/query to C++
...
Conflicts:
CHANGELOG
Makefile.in
README
arangod/RestServer/ArangoServer.cpp
2015-03-23 10:51:14 +01:00
Jan Steemann
3b6dfc868e
Merge branch 'devel' of https://github.com/arangodb/arangodb into data-modification
2015-03-20 23:23:13 +01:00
Jan Steemann
facc9bceea
trap killing of AQL queries inside subqueries
2015-03-20 23:07:39 +01:00
Jan Steemann
d63f47e840
added possibility to kill JS traversals
2015-03-20 23:05:41 +01:00
Jan Steemann
186c25f3bb
Merge branch 'devel' of https://github.com/arangodb/arangodb into data-modification
2015-03-20 22:03:18 +01:00
Jan Steemann
cc8ec1750c
fixed function name in error message
2015-03-20 21:55:50 +01:00
Jan Steemann
8e48f98045
Merge branch 'devel' of https://github.com/arangodb/arangodb into data-modification
...
Conflicts:
arangod/Aql/Collection.cpp
arangod/Aql/ExecutionBlock.cpp
2015-03-20 21:54:39 +01:00
Willi Goesgens
07b3720e6d
Fix windows error buffer handling
2015-03-20 13:21:59 +01:00
Jan Steemann
a1c348e7c6
added more tests for out-of-memory situations
2015-03-20 11:52:55 +01:00
Jan Steemann
1298bd40a8
added tests for out-of-memory situations
2015-03-20 08:54:15 +01:00
Jan Steemann
a9cddb824f
more usage of unique_ptrs
2015-03-20 00:05:32 +01:00
Jan Steemann
50c4682655
added more tests
2015-03-19 18:21:00 +01:00
Jan Steemann
dfa702ba47
add trace output
2015-03-19 16:20:36 +01:00
Jan Steemann
7dc3fc3d5c
safely create collections and databases
2015-03-19 15:56:12 +01:00
Jan Steemann
74816d107b
added assertion, fixed wrong catch handler
...
Conflicts:
arangod/Aql/ExecutionBlock.cpp
2015-03-19 13:08:25 +01:00
Willi Goesgens
4c359f98f0
OS-specific error messages for systemcalls also for windows users.
2015-03-19 12:58:13 +01:00
Jan Steemann
7cce25967e
fixed potential undefined behavior
2015-03-19 11:05:49 +01:00
Jan Steemann
57daabee81
fix for potential undefined values
2015-03-19 10:59:29 +01:00
Jan Steemann
85308fa7f3
removed remainder of development mode
2015-03-19 10:33:31 +01:00
Willi Goesgens
023d880b5f
When uninstalling windows services we need to compare the whole command string.
2015-03-18 19:12:58 +01:00
Frank Celler
8697e2758d
initialize path after drop privileges
...
Conflicts:
arangod/RestServer/ArangoServer.cpp
2015-03-18 17:47:28 +01:00
Jan Steemann
d1d4daefb8
updated documentation
2015-03-18 17:46:48 +01:00
Jan Steemann
ac37515a7a
updated documentation
2015-03-18 17:46:26 +01:00
Jan Steemann
6360c798e7
added option `--database.ignore-logfile-errors`
...
Conflicts:
arangod/RestServer/ArangoServer.cpp
2015-03-18 17:46:11 +01:00
Jan Steemann
9f65e16143
set logfile status under a lock
2015-03-18 17:45:33 +01:00
Jan Steemann
9295755202
track the number of (ignored) errors during recovery
2015-03-18 17:45:21 +01:00
Jan Steemann
3565595928
do not read over the end of a marker on CRC check
2015-03-18 17:45:06 +01:00
Jan Steemann
755d728e5a
hide warning if not appropriate
2015-03-18 17:44:50 +01:00
Jan Steemann
b5fb457d7b
ensure there is a datafile info entry for each datafile of a collection
2015-03-18 17:44:38 +01:00
Jan Steemann
5c8cfecc9e
added method to force-change a logfile status
2015-03-18 17:44:23 +01:00
Jan Steemann
bdae982aa0
refuse to start the server when collection files or parameter.json files are not readable
...
Conflicts:
js/apps/system/aardvark/frontend/js/bootstrap/errors.js
2015-03-18 17:44:06 +01:00
Jan Steemann
659ef9e6af
made _uncollectedLogfileEntries an atomic variable
2015-03-18 17:39:36 +01:00
Jan Steemann
daac3dd00c
add group privileges for files created
...
Conflicts:
lib/Basics/json.cpp
2015-03-18 17:39:22 +01:00
Jan Steemann
bf0a542f96
added shaper locks
2015-03-18 10:28:28 +01:00
Max Neunhoeffer
3bd55fa26f
Set correct root block for newly instanciated ExecutionEngine.
2015-03-17 15:30:30 -07:00
Jan Steemann
cc72257363
abort recovery if one of a collection's datafiles cannot be opened
2015-03-17 18:28:26 +01:00
Frank Celler
ad5d26a03c
added text to differentiate error messages
2015-03-17 18:23:52 +01:00
Willi Goesgens
92389a33b2
Finalize our own service control infrastructure.
2015-03-17 15:00:08 +01:00
Jan Steemann
13ddb8b34b
fixed some cluster plans
2015-03-17 13:52:09 +01:00
Willi Goesgens
67494ea108
Add the contents of the ICU_DATA environment to the fatal error message.
2015-03-17 13:20:55 +01:00
Willi Goesgens
243ae93e92
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2015-03-17 13:12:36 +01:00
Willi Goesgens
bdcaf810fe
Add more start checkpoints, initial windows service control things
2015-03-17 13:11:51 +01:00
Jan Steemann
6b24da1036
in the middle of refactoring
2015-03-17 09:08:25 +01:00
Jan Steemann
34e101725f
fixed assertion
2015-03-16 17:28:54 +01:00
Willi Goesgens
1474249a08
Startup / Shutdown: add hooks to properly emit this state to the windows service control manager
2015-03-16 14:22:28 +01:00
Willi Goesgens
a33dfcb591
Move windows service functionality into its own .cpp file to have a better overview.
2015-03-16 13:17:35 +01:00
Jan Steemann
d91cc3e9b3
added more tests
2015-03-14 20:49:22 +01:00
Jan Steemann
30e44ef553
override
2015-03-13 18:27:29 +01:00
Jan Steemann
ce0a543d25
added flag for disabling query tracking `--database.disable-query-tracking`
...
Conflicts:
arangod/RestServer/ArangoServer.cpp
Conflicts:
Documentation/Books/Users/ConfigureArango/Arangod.mdpp
arangod/RestServer/ArangoServer.cpp
2015-03-13 13:51:23 +01:00
Jan Steemann
7ed7dd4bdf
fixed VS compile errors
2015-03-12 17:05:39 +01:00
Jan Steemann
22dcbef6cb
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-03-12 16:53:26 +01:00
Jan Steemann
70ce59abb6
log when killing a query
2015-03-12 15:10:33 +01:00
Jan Steemann
dfb70d7d96
added cancellation points
...
Conflicts:
arangod/Aql/ExecutionBlock.cpp
2015-03-12 15:00:23 +01:00
Jan Steemann
f035ea1c3b
kill AQL queries
...
Conflicts:
arangod/Aql/ExecutionBlock.cpp
2015-03-12 15:00:14 +01:00
Jan Steemann
75c4451469
enable query tracking by default
2015-03-12 13:02:13 +01:00
Jan Steemann
b98c4c2d5b
added documentation, fixed potential UTF-8 truncation
2015-03-12 13:02:13 +01:00
Jan Steemann
64d77cbe24
added query tracking feature
2015-03-12 13:02:13 +01:00
Jan Steemann
a6473338b3
optimization for extractKey
2015-03-11 15:26:08 +01:00
Jan Steemann
c4f17bb244
issue #1265 : arangod crashed with SIGSEGV
2015-03-11 12:19:34 +01:00
Jan Steemann
d41cff907e
accept buffers
2015-03-09 19:05:04 +01:00
Jan Steemann
c8338b9416
added ArangoClusterInfo.getServerName
2015-03-09 16:56:00 +01:00
Jan Steemann
1457e67ae9
fixed (sometimes) wrong assertion
2015-03-09 09:41:41 +01:00
Frank Celler
0687e4e080
removed registry entry, using relative path to binary instead
2015-03-08 20:06:18 +01:00
Jan Steemann
22200118e1
added method getCoordinators()
2015-03-06 14:02:16 +01:00
Willi Goesgens
73086d9176
wrong index on the strings.
2015-03-05 15:55:32 +01:00
Willi Goesgens
d2230b3811
Add logging of V8 shutdown, relax timeout for Valgrind.
2015-03-05 10:56:06 +01:00
Jan Steemann
a9006f0087
initialize
2015-03-05 10:38:49 +01:00
Jan Steemann
9ff4e7922d
thread-safety
2015-03-04 18:10:21 +01:00
Jan Steemann
4958086d63
thread safety
2015-03-04 18:02:06 +01:00
Jan Steemann
974398e4e3
also install *.tmpl files
2015-03-04 17:21:50 +01:00
Willi Goesgens
bff0ee6e38
static const std::string not as const as thought - at least in windows.
2015-03-04 16:39:54 +01:00
Jan Steemann
7f121fc352
use barrier
2015-03-04 11:35:32 +01:00
Jan Steemann
dc60e9d1a6
less malloc and less copying for skiplist index elements
2015-03-03 11:47:10 +01:00
Jan Steemann
3c0e921ccd
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
...
Conflicts:
CHANGELOG
2015-03-03 10:53:44 +01:00
Jan Steemann
bc4ad22ab6
parallel secondary index building when loading collections
2015-03-03 10:52:51 +01:00
Jan Steemann
a561a96d2b
removed remainders of mruby integration
2015-03-02 19:39:42 +01:00
Jan Steemann
68c57ce061
fix Visual Studio undefinedness
2015-02-26 18:07:25 +01:00
Jan Steemann
8493801ea1
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-02-26 16:39:50 +01:00
Jan Steemann
1461d75ed4
improve collection loading time
...
This patch reduces collection loading time by preallocating enough space in primary index ahead of time.
When a collection is closed, the number of documents in the collection will be stored in the collection's JSON info file.
This value is used to determine the initial size for the primary index when the collection is loaded next time.
Datafile iteration has also been made slightly faster.
The above changes will have a significant benefit when the collection's datafiles are already in the OS buffer cache, and when there are no secondary indexes.
Loading datafiles from disk or building secondary indexes may be more time-consuming than the improvements reapable by this patch, but the patch shouldn't hurt anyway.
2015-02-26 16:35:51 +01:00
Willi Goesgens
8a407c6576
Give the Agency more time to reply before we retry.
2015-02-26 15:24:47 +01:00
Michael Hackstein
c5adf7b089
Fixed tests for foxx on multiple databases. And added generated files
2015-02-25 10:44:15 +01:00
Jan Steemann
c8089f9747
reduce initial sparse size
2015-02-25 09:08:05 +01:00
Jan Steemann
24e191f964
memory usage reporting
2015-02-24 19:03:33 +01:00
Willi Goesgens
146ef8c787
Another place to ignore pre-existing files.
2015-02-24 18:36:05 +01:00
Willi Goesgens
d74299770b
work around race condition occuring during cluster startup on same machine.
2015-02-24 18:00:52 +01:00
Jan Steemann
0ba8e6e626
fixed Windows compile errors
2015-02-24 15:32:04 +01:00
Willi Goesgens
597ce40879
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2015-02-24 13:12:00 +01:00
Willi Goesgens
7b3a165d8e
Windows: more desparetely try to get the bad news to the user on a crash.
2015-02-24 13:11:23 +01:00
Jan Steemann
dc893e4a31
Merge branch 'fp-madhouse' of https://github.com/arangodb/arangodb into devel
2015-02-24 11:38:22 +01:00
Willi Goesgens
eb3f383f93
On windows log backtrace rather then printing it; it doesn't seem to end up where we expect it.
2015-02-24 10:35:33 +01:00
Jan Steemann
654d282088
added fpconv_dtoa from https://github.com/night-shift/fpconv/
2015-02-23 22:27:02 +01:00
Willi Goesgens
dcac88c35a
Fix error message on tempfile creation
2015-02-23 15:28:46 +01:00
Willi Goesgens
a58974d773
Improve error handling
...
- directory creation
- zip extraction
2015-02-23 12:26:49 +01:00
Jan Steemann
3ea0157677
fixed CMakeLists install files
2015-02-19 16:15:51 +01:00
Jan Steemann
2ec83e31f8
fixed CMake instructions for linking on Linux
2015-02-19 16:10:14 +01:00
Jan Steemann
05fadde9e2
small changes
2015-02-19 13:58:50 +01:00
Jan Steemann
59936f1f98
small optimizations
2015-02-19 09:31:00 +01:00
Jan Steemann
7c5cc16a8a
less locking for cluster status checks
2015-02-18 18:14:12 +01:00
Jan Steemann
83ea75fa8f
removed unused config options
2015-02-18 16:40:15 +01:00
Jan Steemann
f29591135a
adjusted geo index API
2015-02-18 14:59:46 +01:00
Jan Steemann
fd5ca65f2d
include stdint early
2015-02-17 16:52:36 +01:00
Jan Steemann
424d349464
less compile warnings in VS?
2015-02-17 16:13:06 +01:00
Willi Goesgens
ea76accb72
Set the unhandled exception handler in windows, so we can catch crashes.
2015-02-17 15:42:33 +01:00
Willi Goesgens
d61fc4343a
Set debug message trap for failing windows arangobench tests.
2015-02-17 14:27:25 +01:00
Michael Hackstein
0c78629199
Merge branch 'foxx-pathes' of github.com:arangodb/arangodb into devel
2015-02-16 14:17:52 +01:00
Jan Steemann
e250a31b0c
shaper changes
2015-02-15 21:53:27 +01:00
Jan Steemann
205736a028
added optimizer rule "propagate-constant-attributes"
2015-02-15 13:29:53 +01:00
Jan Steemann
db2cd7acc9
added `filtered` attribute to AQL execution statistics
2015-02-13 21:37:49 +01:00
Willi Goesgens
da5f86f16b
Windows service deletion - only remove the service entry if it matches our binary path.
2015-02-13 16:21:35 +01:00
Willi Goesgens
154882ae5f
Add signal handler.
2015-02-13 14:44:21 +01:00
Willi Goesgens
e48a75f6e2
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2015-02-13 14:12:20 +01:00
Willi Goesgens
df226e5a82
- install SIG11 handler which prints backtrace to the console. (in windows we don't get cores)
...
- fix exit handling for windows process control.
2015-02-13 14:11:15 +01:00
Jan Steemann
3ed5d54fbb
removed unusued functions
2015-02-13 13:45:18 +01:00
Michael Hackstein
63991b62dd
Merge branch 'devel' of github.com:arangodb/arangodb into foxx-pathes
2015-02-13 10:20:56 +01:00
Michael Hackstein
5b3fae42aa
Merge branch 'devel' of github.com:arangodb/arangodb into foxx-pathes
...
Conflicts:
js/apps/system/_admin/aardvark/APP/frontend/js/bootstrap/errors.js
js/common/bootstrap/errors.js
lib/Basics/voc-errors.cpp
lib/Basics/voc-errors.h
2015-02-13 10:20:36 +01:00
Jan Steemann
3ffdfe0756
authentication realm
2015-02-13 10:12:35 +01:00
Jan Steemann
9ba591e961
handle call to sync() with wrong parameter type
2015-02-12 00:29:23 +01:00
Jan Steemann
1701be206f
more sparse tests
2015-02-11 21:21:14 +01:00
Jan Steemann
33a4d2c4dc
added tests
2015-02-11 19:34:00 +01:00
Jan Steemann
b1d023821e
fixed tests
2015-02-11 18:46:52 +01:00
Jan Steemann
ec2b866200
Merge branch 'devel' of https://github.com/arangodb/arangodb into sparse-indexes
...
Conflicts:
js/apps/system/aardvark/frontend/js/templates/documentsView.ejs
2015-02-11 17:53:23 +01:00
Jan Steemann
c04064dcf2
cast variable
2015-02-11 13:51:01 +01:00
Jan Steemann
6f12e69bae
Merge branch 'devel' of https://github.com/arangodb/arangodb into sparse-indexes
2015-02-11 09:51:16 +01:00
Jan Steemann
f7210e3604
sparse index tests
2015-02-11 00:25:30 +01:00
Frank Celler
3e35e94a83
added hidden option --fronend-version-check
2015-02-10 21:24:24 +01:00
Jan Steemann
a26bd2b223
auto-migrate old hash indexes
2015-02-10 11:34:51 +01:00
Jan Steemann
a0309c44e2
Merge branch 'devel' of https://github.com/arangodb/arangodb into sparse-indexes
...
Conflicts:
.travis.yml
2015-02-09 20:32:18 +01:00
Jan Steemann
82c7522d4e
test fixes
2015-02-09 20:08:06 +01:00
Jan Steemann
ff813a7d11
removed wrong comment
2015-02-09 11:33:13 +01:00
Max Neunhoeffer
dd0d57b41a
Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel
2015-02-07 21:35:18 +01:00
Max Neunhoeffer
134aa7fce8
Add breakpoint facility via console for JavaScript code in server.
2015-02-07 21:34:20 +01:00
Jan Steemann
491e755cd8
turn indexed accesses (e.g. a['foo']) into attribute accesses (e.g. a.foo) during AST optimization
...
this qualifies the indexed accesses to be used with an IndexRangeNode later
2015-02-07 16:55:25 +01:00
Jan Steemann
831d98376f
small changes
2015-02-07 16:32:36 +01:00
Jan Steemann
003d7e9112
sparse indexes, initial commit, untested
2015-02-07 03:07:41 +01:00
Jan Steemann
acc354839d
made functions static
2015-02-06 21:15:05 +01:00