1
0
Fork 0
Commit Graph

1173 Commits

Author SHA1 Message Date
Jan Steemann 98ceb07b77 add initial user 2014-02-25 17:05:02 +01:00
Jan Steemann 018a8390ce refactored create/drop database 2014-02-24 14:50:31 +01:00
Jan Steemann 7a0aac82e2 re-create database objects on coordinator now, and switch into them 2014-02-21 17:40:00 +01:00
Frank Celler b01d9d77e7 Merge branch 'devel' of github.com:triAGENS/ArangoDB into sharding
Conflicts:
	arangod/RestServer/ArangoServer.cpp
	arangod/V8Server/ApplicationV8.cpp
	arangod/V8Server/ApplicationV8.h
	arangod/V8Server/v8-actions.cpp
	js/apps/system/aardvark/frontend/js/bootstrap/module-internal.js
	js/apps/system/aardvark/frontend/scss/generated.css
	js/server/version-check.js
	lib/Dispatcher/Job.h
	lib/GeneralServer/GeneralServerJob.h
2014-02-20 21:02:07 +01:00
Frank Celler 730da7623a added periodic tasks and statistics historian 2014-02-20 20:29:55 +01:00
Jan Steemann ec0ad56f8e fix potentially dangerous function 2014-02-14 18:47:41 +01:00
Jan Steemann 3fd053eb1e updated tests 2014-02-14 18:44:36 +01:00
Jan Steemann 7970881b22 single-threaded plan changes 2014-02-13 15:33:29 +01:00
Jan Steemann 4fc8cae57d index creation with ids 2014-02-13 11:00:08 +01:00
Jan Steemann 70988aa215 removed withStats option 2014-02-13 08:48:22 +01:00
Jan Steemann c4d52ff133 getIndexes, dropIndex 2014-02-12 17:09:47 +01:00
Jan Steemann 6dd81767c9 cleanup 2014-02-12 14:16:27 +01:00
Jan Steemann 8d8d5f5804 added ensureIndex function 2014-02-12 10:40:36 +01:00
Jan Steemann 4a00b3ed98 pass index id 2014-02-11 09:27:55 +01:00
Jan Steemann 399ddebbd3 ensureIndex 1st 2014-02-10 14:36:32 +01:00
Jan Steemann c38c038492 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into sharding
Conflicts:
	CHANGELOG
	js/apps/system/aardvark/frontend/css/collectionsItemView.css
	js/apps/system/aardvark/frontend/css/graphlayout.css
2014-02-06 13:18:52 +01:00
Jan Steemann 545742a5fd added option `--server.disable-authentication-unix-sockets`
with this option, authentication can be disabled for all requests coming
in via UNIX domain sockets, enabling clients located on the same host as
the ArangoDB server to connect without authentication.
Other connections (e.g. TCP/IP) are not affected by this option.

The default value for this option is `false`.
Note: this option is only supported on platforms that support Unix domain
sockets.
2014-02-02 00:22:07 +01:00
Jan Steemann 2be163860d fix reloading of collections 2014-01-21 15:37:53 +01:00
Jan Steemann 64417d4423 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into sharding
Conflicts:
	arangod/V8Server/v8-vocbase.cpp
2014-01-21 09:29:45 +01:00
Jan Steemann bfc05ae0b9 removed superfluous macro and check 2014-01-17 23:16:18 +01:00
Jan Steemann 435b56bea2 fixed dropping of collections 2014-01-17 18:27:55 +01:00
Jan Steemann 481cd2d1be added collection._dbName 2014-01-16 11:10:37 +01:00
Jan Steemann ffa919d716 some modifications for collection accessing 2014-01-13 16:32:40 +01:00
Michael Hackstein 9f3479f5b6 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into sharding
Conflicts:
	utils/Makefile.files
2014-01-10 17:41:52 +01:00
Jan Steemann 5c0e6e12e0 added tests for serverstate and clusterinfo 2014-01-06 18:19:14 +01:00
Jan Steemann 5571698555 serialize/unserialize collection data from agency 2014-01-03 19:04:50 +01:00
Frank Celler 84507cfc44 merged changes from 1.4 back to devel 2013-12-27 14:59:23 +01:00
Frank Celler a82ef8b1ea fixed lock files for Windows 2013-12-19 11:26:38 +01:00
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
Jan Steemann c6d3c0bee7 conditionalised transactional skiplists with TRI_SKIPLIST_EX until fully integrated and tested 2013-08-01 14:55:09 +02:00
Jan Steemann fab5f53030 changed info to trace 2013-08-01 14:46:02 +02:00
Jan Steemann c2611f567a bugfixed cap constraint 2013-08-01 13:17:38 +02:00
Jan Steemann eeae769025 return in case of OOM 2013-08-01 12:38:29 +02:00
Jan Steemann 11964f5720 display lastAvailableTick, fix cont. replication 2013-07-31 17:53:16 +02:00
Jan Steemann a81deb53a8 fixed maxEvents configuration 2013-07-31 17:18:14 +02:00
Jan Steemann 48fbdb1b6a cap constraint for replication logger 2013-07-31 16:56:56 +02:00
Jan Steemann 05a7f79941 re-configuration of logger, cap constraint 2013-07-31 14:39:33 +02:00
Jan Steemann 936fb6c6a6 better progress reports for replication applier 2013-07-31 10:01:56 +02:00
Jan Steemann 78601319fb updated replication API 2013-07-30 18:40:35 +02:00
Jan Steemann 461001efd2 split of initial and continuous sync, currently not working 2013-07-30 14:13:49 +02:00
Jan Steemann 002ebd48bc removed all replication conditionals 2013-07-30 13:16:37 +02:00
Jan Steemann 6b5900e8e0 updated replication api 2013-07-30 09:54:39 +02:00
Jan Steemann ff6368451e removed some unused hints 2013-07-29 16:34:47 +02:00
Jan Steemann 61ea679395 handle OOM 2013-07-28 10:47:53 +02:00
Jan Steemann 9a5a1b02c1 fixed server crash when using firstExample/byExample in a transaction 2013-07-27 17:25:57 +02:00
Jan Steemann 520d2b7294 renamed objectLock to inventoryLock 2013-07-27 11:34:30 +02:00
Jan Steemann 051e898a8a updated replication documentation 2013-07-25 14:13:53 +02:00
Jan Steemann 378e8313f3 added replication docs 2013-07-25 10:54:04 +02:00
Jan Steemann 4f14062d10 replication tests 2013-07-24 15:22:45 +02:00
Jan Steemann 1ef0784b91 added "rev" 2013-07-23 18:08:23 +02:00
Jan Steemann 0adbe8410f log "rev" 2013-07-23 18:00:29 +02:00
Jan Steemann 47c8b7bfc8 fixed leaks 2013-07-23 15:37:12 +02:00
Jan Steemann 5fe1844ee1 replication tests 2013-07-23 15:03:59 +02:00
Jan Steemann bf12b6ec5a fixed journalSize 2013-07-23 11:57:56 +02:00
Jan Steemann f49ae77bc5 include replication tests 2013-07-23 11:19:41 +02:00
Jan Steemann f193015b5f fixed assertion 2013-07-23 10:01:20 +02:00
Jan Steemann 1c78c4bf40 added dataMin/dataMax stats for datafiles 2013-07-23 09:24:32 +02:00
Jan Steemann 149d4fe9d0 fixed memory zone mismatch 2013-07-23 09:24:17 +02:00
Jan Steemann d1a397b9af indentation 2013-07-23 09:08:26 +02:00
Jan Steemann 444a110b72 added timestamp 2013-07-22 18:52:43 +02:00
Jan Steemann 2991510927 fixed an overrun 2013-07-22 18:36:45 +02:00
Jan Steemann 539954894f log last access time of clients 2013-07-22 18:13:21 +02:00
Jan Steemann c4f82088dd replication tests 2013-07-22 18:12:56 +02:00
Jan Steemann 2a762ce1f7 replication logger tests 2013-07-19 17:22:06 +02:00
Jan Steemann 2552d3f389 fixed compiler warnings 2013-07-19 10:54:52 +02:00
Jan Steemann 781514f78d added timestamps 2013-07-17 14:06:40 +02:00
Jan Steemann 08b9f57166 stoppable replication applier 2013-07-17 10:58:10 +02:00
Oreste Panaia 7ae004895f enum name change due to conflict on windows 2013-07-16 16:16:07 +08:00
Jan Steemann b5e26235a7 replication configuration 2013-07-12 17:37:24 +02:00
Jan Steemann dcd8b63db3 added configuration 2013-07-12 15:40:18 +02:00
Jan Steemann 0266e2339a replication apply state tracking 2013-07-12 15:06:52 +02:00
Jan Steemann 9137c57cb3 fixed compiler warning 2013-07-12 08:57:19 +02:00
Jan Steemann 1f564ef6ae linkage between C and C++ 2013-07-11 17:50:48 +02:00
Jan Steemann 98c33a943b removed unused files 2013-07-11 14:47:00 +02:00
Jan Steemann 98dd1c2522 moved replication parts into separate files 2013-07-11 14:44:09 +02:00
Jan Steemann ec9589b44c sync last write of replication 2013-07-11 10:15:22 +02:00
Jan Steemann bba497a76c cppcheck 2013-07-11 10:15:02 +02:00
Jan Steemann 746a4fddbc suppress compile warnings due to unused variables 2013-07-11 10:02:40 +02:00
Jan Steemann 80362ec82f fixed issues reported by cppcheck 2013-07-11 10:02:27 +02:00
Jan Steemann 3f718ef0fa fixed some issues in replication 2013-07-10 18:08:18 +02:00
Jan Steemann 29385b0b4a continuously save apply state 2013-07-10 17:29:17 +02:00
Jan Steemann 7cb90e675e fixed memory leak 2013-07-10 17:00:53 +02:00
Jan Steemann ca6b184286 added TRI_JSON_STRING_REFERENCE 2013-07-10 17:00:29 +02:00
Jan Steemann 222e9c0c42 create JSON structs on stack 2013-07-10 12:42:08 +02:00
Jan Steemann 7ef7ad297f added TRI_StealStringBuffer() 2013-07-10 12:02:42 +02:00
Jan Steemann 3cc4405c18 added collection.checksum() 2013-07-10 11:10:00 +02:00
Jan Steemann c87eac71fd intermediate commit 2013-07-09 18:25:20 +02:00
Jan Steemann 60907e6f56 fixed compiler warning 2013-07-09 16:43:01 +02:00
Jan Steemann d283f4d32d Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-07-09 16:41:55 +02:00
Jan Steemann c5e693c814 create/drop collections/indexes 2013-07-09 16:41:46 +02:00
Jan Steemann 4749f2b7c0 changed replication log format 2013-07-09 16:41:07 +02:00
Jan Steemann 304d6dc3ab change type to number 2013-07-09 14:37:38 +02:00
Jan Steemann a7c1ee0191 less lock 2013-07-09 13:36:38 +02:00
Jan Steemann 9fa91447ce renamed attributes 2013-07-09 12:58:10 +02:00
Jan Steemann 9290838dd2 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-07-09 11:16:26 +02:00
Jan Steemann 1f30c592f3 follow logs 2013-07-09 11:16:17 +02:00
Jan Steemann ca94bf3f39 replication 2013-07-09 11:15:58 +02:00
Jan Steemann beedcc34b9 log dump 2013-07-08 16:58:16 +02:00
Jan Steemann 48d851bb7b log dump 2013-07-08 16:33:47 +02:00
Jan Steemann dfd9117fd1 some cleanup, initial implementation of log dump 2013-07-08 12:27:20 +02:00
Jan Steemann 3f73009410 add indexes after data xfer 2013-07-05 17:57:33 +02:00
Jan Steemann d79d95a3a7 moved attribute names to defines 2013-07-05 14:41:23 +02:00
Jan Steemann ebb121b44a sync all collection markers 2013-07-05 13:59:48 +02:00
Jan Steemann a07d2ea011 replication 2013-07-05 12:12:38 +02:00
Jan Steemann 054ed3ca3f apply collection data dumps 2013-07-05 11:41:37 +02:00
Jan Steemann 6249b1d5ab memory zone fix 2013-07-04 17:13:05 +02:00
Jan Steemann 10327f0870 initial code for collection data dump 2013-07-04 16:55:46 +02:00
Jan Steemann a0c1308edb initial synching of collections 2013-07-04 15:53:51 +02:00
Jan Steemann c794060673 changed memory zone 2013-07-03 16:16:51 +02:00
Jan Steemann 82b82c70be fixed compiler warning 2013-07-03 15:45:30 +02:00
Jan Steemann f4b62f78d3 exclude failed operations from dump 2013-07-03 15:16:05 +02:00
Jan Steemann 3fa6c511d3 keep a list of failed transactions 2013-07-03 12:41:28 +02:00
Jan Steemann e84b9b9204 indentation 2013-07-03 12:39:54 +02:00
Jan Steemann cd3593427c less syncs 2013-07-03 10:53:12 +02:00
Jan Steemann ebcf63d1cc error handling 2013-07-03 10:53:03 +02:00
Jan Steemann 35da795446 handle failure in case indexes are added 2013-07-03 10:49:57 +02:00
Jan Steemann 554c8def0c fixed ambiguous situation during primary key insertion 2013-07-03 10:36:01 +02:00
Jan Steemann 613652126e less syncing of shapes, faster creation of collections 2013-07-03 09:57:07 +02:00
Jan Steemann 74489d9f93 OOM handling 2013-07-02 17:33:31 +02:00
Jan Steemann 40b7f372f9 handle OOM 2013-07-02 17:20:51 +02:00
Jan Steemann a35de51042 handle OOM 2013-07-02 17:19:03 +02:00
Jan Steemann bcf1a70c77 changed memory zone 2013-07-02 17:10:25 +02:00
Jan Steemann ae4b1330ea changed memory zone 2013-07-02 17:10:04 +02:00
Jan Steemann ef8d26d30e changed memory zone 2013-07-02 17:07:53 +02:00
Jan Steemann cfd1551f51 object lock 2013-07-01 17:55:09 +02:00
Jan Steemann 63d739b0aa added objLock 2013-06-28 19:15:42 +02:00
Jan Steemann 7a7d833b18 intermediate commit 2013-06-28 19:04:08 +02:00
Jan Steemann c2de84fd45 improved error message 2013-06-28 19:02:40 +02:00
Jan Steemann 64cfc7ccae fixed compiler warnings 2013-06-28 17:10:42 +02:00
Jan Steemann d89262dc6a incremental collection dump 2013-06-28 12:07:13 +02:00
Jan Steemann 4b758eb0e8 moved functions 2013-06-28 10:25:45 +02:00
Jan Steemann 61c43a47b7 fixed queries 2013-06-28 09:54:05 +02:00
Jan Steemann b643ff4b43 added dump command 2013-06-27 19:26:10 +02:00
Jan Steemann 1cb3296e70 implemented start/stop HTTP methods for replication 2013-06-27 16:10:01 +02:00
Jan Steemann 14422986e0 added option --server.authenticate-system-only 2013-06-26 23:23:37 +02:00
Jan Steemann f7fcd6119d added tests for special collections 2013-06-26 17:46:43 +02:00
Jan Steemann aa5a20784b removed comments about barrier 2013-06-26 12:06:19 +02:00
Jan Steemann 6e9c3e8e2c replication logging 2013-06-26 12:04:55 +02:00
Jan Steemann b2ce00f8a9 indenting 2013-06-24 19:24:21 +02:00
Jan Steemann 71a69d0997 fixed compile warning 2013-06-24 16:28:53 +02:00
Jan Steemann 93a6ed8b08 potential fix for #554 2013-06-24 15:59:29 +02:00
Jan Steemann 8b62c479f2 more asserts 2013-06-24 15:59:21 +02:00
Jan Steemann ebc61295e7 more assertions 2013-06-24 14:25:21 +02:00
Jan Steemann b2e5888db9 add unload protection when there are this barriers in the barrier list 2013-06-24 13:50:23 +02:00
Jan Steemann 4c88adc054 potential fix for issue #554 2013-06-24 10:46:13 +02:00
Jan Steemann 654ea77f25 extended cap constraints with size constraints 2013-06-22 02:44:48 +02:00
Jan Steemann 4c716aee0e fixed 1.2 upgrade under 32 bits 2013-06-21 20:22:23 +02:00
Jan Steemann 8063ade2be fixed issues reported by cppcheck 2013-06-21 19:40:57 +02:00
Jan Steemann e0f7eb9df7 fixed invalid unlocking 2013-06-21 11:22:04 +02:00
Jan Steemann 1691cf4036 fixed issues reported by Valgrind 2013-06-21 10:26:48 +02:00
Jan Steemann 30a747f3ef fixed client-side tests 2013-06-20 19:15:30 +02:00
Jan Steemann b1f243d296 fixed segfault for too big shapes, make shape collection filesize adaptive 2013-06-20 19:14:14 +02:00
Jan Steemann d617e86437 ensure proper order of _tick values in datafiles 2013-06-20 14:33:41 +02:00
Jan Steemann 0ddeb23df0 added comments 2013-06-19 16:51:41 +02:00
Jan Steemann 314a0f926a added assertion 2013-06-19 16:51:35 +02:00
Jan Steemann 9dfb7483ff "doCompact" attribute for collections 2013-06-19 16:51:16 +02:00
Jan Steemann 2bd699045f move free() out of critical section 2013-06-19 15:44:52 +02:00
Jan Steemann 55b20b2858 removed unused function 2013-06-19 15:42:26 +02:00
Oreste Panaia 81f20c7ba0 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-06-12 17:03:29 +08:00
a-brandt d9fc2a6c60 Merge branch 'devel' into multiple_databases
Conflicts:
	arangod/V8Server/v8-vocbase.cpp
	arangod/VocBase/primary-collection.c
2013-06-11 11:17:41 +02:00
Jan Steemann e8e10844f4 moved compaction tests 2013-06-11 10:41:40 +02:00
Jan Steemann 564523896a compaction tests 2013-06-11 10:10:58 +02:00
Jan Steemann dc700fb186 use a write-lock when modifying file info in datafiles vector 2013-06-10 11:59:27 +02:00
Jan Steemann b65fecd880 fix reported datafile size for compacted files 2013-06-10 11:21:00 +02:00
Jan Steemann 8696048dbb removed now unnecessary _validTo from master pointers/headers 2013-06-10 11:20:19 +02:00
Oreste Panaia 35ab2e6f62 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-06-10 17:05:58 +08:00
Oreste Panaia 8e10a5e173 windows updates 2013-06-10 17:05:33 +08:00
Jan Steemann 27d4c8c89d introduced compaction lock 2013-06-07 13:37:51 +02:00
Jan Steemann 12f2e2e6a1 fixed type issue 2013-06-07 11:33:46 +02:00
Jan Steemann 4a8b4f5e73 pull shapedJson creation out of loop 2013-06-07 11:33:12 +02:00
Jan Steemann d31573a8b4 fixed a few type issues, updated TODOs 2013-06-07 11:31:42 +02:00
Oreste Panaia 2afd8a742c Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-06-05 19:53:25 +08:00
Oreste Panaia 8a95c1c2a8 update 2013-06-05 19:52:34 +08:00
a-brandt 1c0578c2b5 Merge branch 'devel' into multiple_databases
Conflicts:
	arangod/RestServer/ArangoServer.cpp
	arangod/VocBase/vocbase.c
	lib/HttpServer/ApplicationEndpointServer.cpp
	lib/HttpServer/ApplicationEndpointServer.h
	lib/HttpServer/HttpCommTask.h
	lib/HttpServer/HttpHandlerFactory.cpp
	lib/HttpServer/HttpHandlerFactory.h
	lib/Rest/HttpRequest.cpp
	lib/Rest/HttpRequest.h
2013-06-03 17:05:01 +02:00
Jan Steemann 3b73c8f900 dont write currently unnecessary data on collection creation and deletion 2013-05-22 11:09:58 +02:00
Jan Steemann d7b64d4ae2 merged patches by @guidoreina 2013-05-21 11:33:43 +02:00
Jan Steemann 78169e3626 issue #531: thanks to @guidoreina for bugfix suggestions! 2013-05-17 19:29:05 +02:00
Jan Steemann dd26635a35 removed debug comments 2013-05-17 14:54:24 +02:00
Jan Steemann ab6ca2f017 ported all recent fixes from 1.3 2013-05-16 21:04:04 +02:00
Jan Steemann c59f00efa8 fixed handling of --temp-path 2013-05-15 15:55:48 +02:00
Guido Reina ae8d686ae6 In the function CheckDatafile(), inside the while loop, there are two consecutive 'if' with the same body and similar condition. The first 'if' has been removed, as its condition is more restrictive than the second. 2013-05-09 20:26:32 +02:00
Guido Reina 7efd0a1ec7 Merge remote branch 'remotes/upstream/devel' into experiment 2013-05-09 18:56:50 +02:00
Guido Reina 3449b87e2c The 'json' structure was not freed in the function TRI_LoadCollectionInfo() if the file was not a JSON array. 2013-05-09 18:26:24 +02:00
Guido Reina d35a4034ef Memory leak in the function ScanPath() if the directory is not writable. 2013-05-09 18:00:43 +02:00
Guido Reina e0c88e4a1a In the function TruncateAndSealDatafile(), 'filename' and 'oldname' were not freed. If TRI_UNMMFile() failed, the file was not closed.
In the function OpenDatafile(), if TRI_Allocate() failed to allocate memory for 'datafile', the file was not unmapped and not closed.
2013-05-09 16:43:20 +02:00
Guido Reina 952d643101 Fixed memory leak in the function ScanCollectionDirectory(). If the file extension is .db and it is a compaction file, 'filename' is leaked when 'newName' is assigned to it.
In the function TRI_LoadCollectionInfo(), when the value's type is a JSON string and the key is not the 'name', it checked again whether the value's type is a JSON string, instead of comparing the key with 'cid'.
2013-05-09 16:06:46 +02:00
Guido Reina fc9de8ed08 Typos. 2013-05-09 14:16:53 +02:00
Jan Steemann ccd129f69e fixed problem on restart ("datafile-xxx is not sealed") when server was killed during compaction 2013-05-08 11:09:48 +02:00
Jan Steemann 8ad21ec2cf fixed cursor leak for very small batch sizes 2013-05-07 18:48:41 +02:00
Jan Steemann 75ee749d78 read and write server SHUTDOWN files for faster startups
added documentation about server files
2013-05-03 18:30:17 +02:00
Jan Steemann 00f5cab407 changed compaction to only clean datafiles with at least 10 % of dead objects 2013-05-03 16:37:32 +02:00
Frank Celler b3b7a45e62 issue #502 2013-05-02 15:21:30 +02:00
Jan Steemann 2c381d5d6a issue #498 2013-05-02 12:27:06 +02:00
a-brandt 43aec7e76b Merge branch 'devel' of github.com:triAGENS/ArangoDB into multiple_databases 2013-04-30 10:05:53 +02:00
Oreste Panaia 115d87196c sync windows dev 2013-04-29 23:13:06 +08:00
Oreste Panaia 532c7eae8e windows dev update 2013-04-29 21:24:57 +08:00
Oreste Panaia 1ddbd2e4d9 update 2013-04-23 19:02:46 +08:00
Oreste Panaia b83d90f021 skiplist transaction support 2013-04-23 18:56:26 +08:00
a-brandt 234b1460f8 Merge branch 'devel' of github.com:triAGENS/ArangoDB into multiple_databases 2013-04-23 09:55:08 +02:00
Frank Celler cbc2ab93ba fixed _shallowCopy, fixed creating of unknown attributes 2013-04-22 16:48:36 +02:00
a-brandt 7a0a9ff3b4 Merge branch 'devel' of github.com:triAGENS/ArangoDB into multiple_databases 2013-04-22 14:53:33 +02:00
Jan Steemann cdb7705380 issue #481 2013-04-21 12:12:51 +02:00
Jan Steemann cd17f1ef44 issue #481 2013-04-21 11:37:46 +02:00
Jan Steemann 8ea6915b55 added IndexedPropertyGetter for ShapedJson 2013-04-19 11:35:55 +02:00
a-brandt 7c0e5fb16f Merge branch 'devel' of github.com:triAGENS/ArangoDB into multiple_databases 2013-04-18 12:01:47 +02:00
Jan Steemann 91c63338f2 some locking fixes 2013-04-17 18:02:55 +02:00
a-brandt 58de325e98 Merge branch 'devel' of github.com:triAGENS/ArangoDB into multiple_databases 2013-04-17 16:58:23 +02:00
a-brandt fcae2b2961 added RequestContext 2013-04-17 16:56:48 +02:00
Jan Steemann 2914a1a319 fixed assertion 2013-04-15 13:05:31 +02:00
Jan Steemann 8e4af7a952 fixed some locking 2013-04-15 12:43:53 +02:00
a-brandt 3c4fb08548 Merge branch 'devel' of github.com:triAGENS/ArangoDB into multiple_databases 2013-04-12 15:04:46 +02:00
Jan Steemann fb522e7c59 added TRI_DocumentIteratorPrimaryCollection 2013-04-12 15:03:03 +02:00
a-brandt 0a44b019db Merge branch 'devel' into multiple_databases 2013-04-12 14:16:25 +02:00
a-brandt aa216c2edb changes for multiple databases 2013-04-12 14:15:06 +02:00
Jan Steemann 74a7733867 removed unused file 2013-04-12 11:43:51 +02:00
Jan Steemann 430db4e0f0 ignore some obviously invalid markers 2013-04-12 11:39:05 +02:00
Jan Steemann 5257e22f5e fixed warning messages 2013-04-12 10:59:20 +02:00
Jan Steemann 3629eecddd documented upgrade procedure 2013-04-12 10:25:01 +02:00
Jan Steemann 9b5849f650 updated documentation 2013-04-12 00:42:02 +02:00
Jan Steemann 5a41aae8d4 fixed memory zone 2013-04-11 21:03:30 +02:00
Jan Steemann b64ee0cbdc fixed ifdefs 2013-04-11 19:18:54 +02:00
Jan Steemann e128b40735 fixed gcc warnings 2013-04-11 19:11:09 +02:00
Jan Steemann b6925a7b7b transactions 2013-04-11 19:06:55 +02:00
Jan Steemann d752d2cc57 fixed tests 2013-04-05 13:05:43 +02:00
Jan Steemann 6187c516a3 push before compactor change 2013-04-04 11:15:58 +02:00
Jan Steemann addf02a97b update the tick counter on startup with ticks from journals 2013-04-04 10:08:05 +02:00
Jan Steemann b3b2602885 adjusted wording and log-level 2013-04-04 09:47:21 +02:00
Jan Steemann 059980ed50 read & write collection ids as strings in parameter.json files 2013-04-04 08:49:40 +02:00
Jan Steemann af1ed1e0f0 fixed some race conditions in transactions 2013-04-03 18:43:13 +02:00
Jan Steemann f7a5cf4cf3 transactions 2013-04-03 14:40:23 +02:00
Jan Steemann ab9baf2f9b moved include 2013-04-03 08:30:50 +02:00
Frank Celler f810711a79 FreeBSD port 2013-04-02 18:43:10 +02:00
Frank Celler 42b92c794f fixed error messages and tests 2013-04-02 17:46:19 +02:00
Jan Steemann 666eae6b41 allow writing too big markers into collections if maximalJournalSize is bigger than current datafile's size 2013-03-28 14:41:40 +01:00
Jan Steemann 6b3b181930 pass transaction collection into CRUD operations 2013-03-28 13:26:49 +01:00
Jan Steemann a5c1ebd09d more cleanup 2013-03-26 17:57:45 +01:00
Jan Steemann 0e6c21e4e7 removed NEW_BORN collection status in server 2013-03-25 15:51:42 +01:00
Jan Steemann 0d41462823 added statistics function 2013-03-25 12:54:36 +01:00
Jan Steemann 54dbcb8121 fixed some caching issues 2013-03-25 12:23:42 +01:00
Jan Steemann d62a3a08a1 shutdown with lock 2013-03-25 11:11:33 +01:00
Frank Celler 57e7224494 fixed ordering 2013-03-23 17:54:35 +01:00
Jan Steemann c473e42f77 fixed memleak 2013-03-22 18:38:17 +01:00
Jan Steemann 517c6f98dc document counting 2013-03-22 15:45:36 +01:00
Jan Steemann 564f35141e refactored writing of markers 2013-03-22 14:50:32 +01:00
Jan Steemann 28e0f8bd09 notify collections about transaction status changes 2013-03-22 13:34:02 +01:00
Jan Steemann ccc7c3665b locking 2013-03-22 11:31:36 +01:00
Jan Steemann 228f273bc0 added isRollback hints to index insert/remove functions 2013-03-22 11:18:44 +01:00
Jan Steemann 69db58a154 index cleanup 2013-03-22 10:38:47 +01:00
Jan Steemann a9ab2695d6 changed error message 2013-03-22 09:00:29 +01:00
Jan Steemann 9b282ab74c some cleanup of transaction code 2013-03-21 18:54:38 +01:00
Jan Steemann b40ade45ce simplified code 2013-03-21 10:09:52 +01:00