1
0
Fork 0
Commit Graph

1965 Commits

Author SHA1 Message Date
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 85362b3c18 simplified error messages 2013-09-11 14:35:50 +02:00
Jan Steemann c22fd49d84 small cleanup 2013-09-11 14:21:54 +02:00
Jan Steemann 1c4581c525 fixed batch handler 2013-09-11 13:58:39 +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 c6c4c70333 activated arangodump and arangorestore 2013-09-06 00:54:58 +02:00
Frank Celler 055e172bdb Merge branch 'devel' of github.com:triAGENS/ArangoDB into 1.4
Conflicts:
	arangod/Replication/Syncer.cpp
	arangod/VocBase/index-garbage-collector.c
	build_posix.h
	html/admin/api-docs/traversal.json
	js/apps/aardvark/api-docs/collection.json
	js/apps/aardvark/api-docs/cursor.json
	js/apps/aardvark/api-docs/document.json
	js/apps/aardvark/api-docs/edge.json
	js/apps/aardvark/api-docs/edges.json
	js/apps/aardvark/api-docs/graph.json
	js/apps/aardvark/api-docs/index.json
	js/apps/aardvark/api-docs/replication.json
	js/apps/aardvark/api-docs/simple.json
	js/apps/aardvark/api-docs/system.json
2013-09-05 13:03:07 +02:00
Jan Steemann 05bdf94537 force lower-case database names 2013-09-05 12:43:03 +02:00
Jan Steemann 369433f1e2 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
Conflicts:
	arangosh/Benchmark/BenchmarkThread.h
	lib/SimpleHttpClient/SimpleHttpClient.cpp
2013-09-05 12:34:45 +02:00
Jan Steemann ca2f5feb4b fixed redirect URLs 2013-09-04 17:30:37 +02:00
Jan Steemann 435e949462 fixed redirections in web interface 2013-09-04 15:58:41 +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 0b3a0e7cc0 added exclusive lock for database creation 2013-09-02 14:50:30 +02:00
Jan Steemann 42b8dfca49 added --server.database option for client tools 2013-09-02 13:02:53 +02:00
Jan Steemann 41acd59698 added _createDatabase(), _listDatabases() 2013-09-02 10:55:41 +02:00
Jan Steemann a53c1e493b multiple database, becoming standard 2013-09-02 09:52:52 +02:00
Jan Steemann aa4aa7bf95 issue #582: ifdef'd unused feature 2013-09-01 12:13:11 +02:00
Jan Steemann 1af5aa6b45 block compaction & datafile removal while dumping 2013-08-30 17:25:09 +02:00
Jan Steemann 6c64a35895 restore client, unfinished 2013-08-30 01:14:21 +02:00
Jan Steemann a42be561fd added includeSystem URL parameter 2013-08-29 21:15:47 +02:00
Jan Steemann 2556b0714f fixed issues reported by VS 2012 2013-08-29 16:43:56 +02:00
Jan Steemann 0aca109a89 removed html/admin, / now redirects to /_admin/aardvark by default 2013-08-29 12:59:56 +02:00
Jan Steemann e72c6ab20c fixed a memleak in /_api/replication/dump 2013-08-29 11:46:33 +02:00
Jan Steemann 860ed964c3 simplify build.h 2013-08-28 22:20:06 +02:00
Jan Steemann 7cb6b7d922 simplified build.h stuff 2013-08-28 19:57:07 +02:00
Jan Steemann b94ee1042c cppcheck 2013-08-27 16:13:44 +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 08f09a6bc7 do not flush log messages after initialisation 2013-08-27 13:26:00 +02:00
Jan Steemann 0689d5cc5f removed dead files 2013-08-27 12:47:23 +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 e6d8687250 added AQL MINUS function 2013-08-26 22:25:30 +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
Frank Celler 09460a10a3 updated mruby to 2013-08-22
Conflicts:
	configure
2013-08-22 21:03:04 +02:00
Frank Celler 5e1e2fc30c updated mruby to 2013-08-22 2013-08-22 20:58:19 +02:00
Jan Steemann 9b8b030a8a added several tests for authentication 2013-08-22 11:18:11 +02:00
Jan Steemann dbaadcdcd3 updated docs 2013-08-21 14:23:05 +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 5a99987673 issue #581: parameter binding for attributes 2013-08-19 12:29:59 +02:00
Frank Celler 487af3bc0d fixed (hacked) display of swagger for dev apps 2013-08-07 13:30:28 +02:00
Jan Steemann f2c840e8b0 allow compatibility with 1.4 only 2013-08-02 16:32:11 +02:00
Jan Steemann 9274bbef3e compatibility with 1.4 and higher 2013-08-02 16:31:24 +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 333017e59d don't complain if collection is not present 2013-08-02 15:32:35 +02:00
Jan Steemann 5f1bfcf9cd documentation for replication 2013-08-02 15:28:30 +02:00
Jan Steemann 1fc1bb108d added replication client tests 2013-08-02 11:45:55 +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 8fb5f6bc32 lol swagger 2013-08-01 19:03:18 +02:00
Jan Steemann df7a0af4ce swag... 2013-08-01 18:46:06 +02:00
Jan Steemann 38d8b0b598 adjusted tests and docs 2013-08-01 18:41:13 +02:00
Jan Steemann a7c5350455 added server-id method 2013-08-01 18:27:42 +02:00
Jan Steemann e739089280 extended tests 2013-08-01 17:57:24 +02:00
Jan Steemann 11eece3f6f decreased memory usage 2013-08-01 17:02:31 +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 6503cbda6b fixed invalid URL call 2013-07-31 16:47:54 +02:00
Jan Steemann 713db4daba changed wording 2013-07-31 15:00:23 +02:00
Jan Steemann 05a7f79941 re-configuration of logger, cap constraint 2013-07-31 14:39:33 +02:00
Jan Steemann 2368adf250 updated documentation 2013-07-31 10:10:34 +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 d8537c514a fixed VS issue 2013-07-30 14:47:48 +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 226667bea1 fixed doxygen generation 2013-07-29 13:38:00 +02:00
Jan Steemann ec6792e11e added authentication 2013-07-28 16:02:21 +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 384438ec7f removed unused elements 2013-07-27 00:57:02 +02:00
Jan Steemann 16b7b82266 updated type 2013-07-26 09:43:05 +02:00
Jan Steemann 3b57e80241 simplified HTTP import API 2013-07-25 18:24:21 +02:00
Jan Steemann 9de2910717 updated replication documentation 2013-07-25 16:32:11 +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 8a254ea230 replication API documentation 2013-07-24 17:37:16 +02:00
Jan Steemann 39195af4c5 easier generation of swagger API docs 2013-07-24 15:24:27 +02:00
Jan Steemann 4f14062d10 replication tests 2013-07-24 15:22:45 +02:00
Jan Steemann 33f1bd87dd renaming 2013-07-23 18:32:26 +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 951f104f0e client id logging 2013-07-22 18:42:54 +02:00
Jan Steemann 2991510927 fixed an overrun 2013-07-22 18:36:45 +02:00
Jan Steemann 5de07a7d67 track client ids 2013-07-22 18:22:16 +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 d0961244c6 added range support for AQL 2013-07-19 18:38:13 +02:00
Jan Steemann 2a762ce1f7 replication logger tests 2013-07-19 17:22:06 +02:00
Jan Steemann 3ab117de67 added collection.first() and collection.last() 2013-07-19 14:21:46 +02:00
Jan Steemann 2552d3f389 fixed compiler warnings 2013-07-19 10:54:52 +02:00
Jan Steemann 937c843c38 added AQL INTERSECTION function 2013-07-18 16:43:31 +02:00
Jan Steemann 05860edd2f better output for explain 2013-07-18 15:06:16 +02:00
Jan Steemann e359dc29dd INCOMPATIBLE CHANGE: changed AQL user function namespace resolution operator from `:` to `::`
AQL user-defined functions were introduced in ArangoDB 1.3, and the namespace resolution
operator for them was the single colon (`:`). A function call looked like this:

    RETURN mygroup:myfunc()

The single colon caused an ambiguity in the AQL grammar, making it indistinguishable from
named attributes or the ternary operator in some cases, e.g.

    { mygroup:myfunc ? mygroup:myfunc }

The change of the namespace resolution operator from `:` to `::` fixes this ambiguity.

Existing user functions in the database will be automatically fixed when starting ArangoDB
1.4 with the `--upgrade` option. However, queries using user-defined functions need to be
adjusted on the client side to use the new operator.
2013-07-18 12:02:28 +02:00
Jan Steemann 088d8aebf8 more tailored AQL error messages in case collection cannot be found 2013-07-18 10:48:02 +02:00
Jan Steemann d6dff8ee2b removed unused function 2013-07-18 02:32:25 +02:00
Jan Steemann 5cf234b40d simplified query testing and query interface a bit 2013-07-18 02:15:22 +02:00
Jan Steemann c61395dff6 added single line comments for AQL 2013-07-17 15:12:53 +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
Oreste Panaia b4acec0fe6 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-07-15 22:54:38 +08:00
Jan Steemann b5e26235a7 replication configuration 2013-07-12 17:37:24 +02:00
Oreste Panaia b8163e79c4 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-07-12 22:40:37 +08: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 25a8ab6c59 handle transactions 2013-07-09 18:36:23 +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 72c4d319cc incremental fetching, doing nothing 2013-07-08 17:21:05 +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
Oreste Panaia 752a60025c merge conflicts 2013-07-08 16:47:39 +08:00
Oreste Panaia a7661542a2 windows 2012 fixes 2013-07-08 16:44:32 +08: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 a33dcede42 data synchronisation 2013-07-04 17:56:54 +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 f5968a4646 handle a master's state response 2013-07-04 10:13:09 +02:00
Jan Steemann 8b8cd1fc74 stubs 2013-07-03 17:47:37 +02:00
Jan Steemann a2e7cc1043 added stub for ReplicationFetcher 2013-07-03 16:44:13 +02:00
Jan Steemann 22b859ad81 initialise _json 2013-07-03 16:21:44 +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 7967936f67 added server id to output 2013-07-03 15:42:34 +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