Commit Graph

211 Commits

Author SHA1 Message Date
sale
d475b79a58 Merge 2017-01-11 09:18:10 +00:00
Marko Budiselic
057af7ac14 Much more serious implementation of FSWatcher
Summary: Much more serious implementation of FSWatcher

Test Plan: ctest -R fswatcher

Reviewers: dtomicevic, sale

Subscribers: buda

Differential Revision: https://phabricator.memgraph.io/D33
2017-01-08 01:07:12 +01:00
Marko Budiselic
782fc05f93 Merge branch 'dev' into mgcore_T159_inotify 2017-01-03 16:01:53 +01:00
Marko Budiselic
5c2258b203 Auto scope doxygen fix
Summary: Auto scope doxygen fix

Test Plan: manual

Reviewers: dtomicevic

Subscribers: buda

Differential Revision: https://memgraph.phacility.com/D26
2017-01-02 18:52:10 +01:00
sale
1c1cf1ad88 Review changes fixed 2016-12-28 11:56:53 +00:00
Marko Budiselic
422f6a9957 mistake, I forgot to add some changes 2016-12-22 19:28:21 +01:00
Marko Budiselic
f91dcda97b unit test normalization 2016-12-22 19:22:45 +01:00
Marko Budiselic
55a62f9640 Bugs from concurrent tests aren't solved. TODO: we have to introduce memory tracker for tests 2016-12-21 21:33:58 +01:00
sale
02f332c34f Update on Configuration and CppCheck refactor 2016-12-21 17:48:38 +00:00
Marko Budiselic
1ae474d15c code documantation work in progress 2016-12-21 11:35:04 +01:00
Marko Budiselic
4b957f8dd3 Merge branch 'dev' into mg_core_code_documentation 2016-12-21 11:03:51 +01:00
Marko Budiselic
fd804f5e58 Merge branch 'MG_test_T196-Stack_Allocator_Test' into dev 2016-12-21 10:34:57 +01:00
sale
013f69b1ca removed unused and obsolete macro 2016-12-20 22:29:33 +00:00
sale
08c8bd4aee Initial configuration memgraph which needs review
Summary: MG configuration commit for review

Test Plan: manual

Reviewers: buda

Subscribers: buda

Differential Revision: https://memgraph.phacility.com/D24
2016-12-20 22:26:03 +00:00
Marko Budiselic
ecbb0f0595 Initial doxygen comments on Db and Graph classes
Summary: Initial doxygen comments on Db and Graph classes

Test Plan: manual

Reviewers: sale

Subscribers: sale, buda

Differential Revision: https://memgraph.phacility.com/D23
2016-12-20 19:38:16 +01:00
Marko Budiselic
362bc3ba48 Bug fixes: RELEASE MODE - asserts 2016-12-19 18:32:44 +01:00
sale
021da26ac9 Merge branch 'dev' of https://memgraph.phacility.com/diffusion/MG/memgraph into dev 2016-12-19 10:05:38 +00:00
sale
18612a3063 Added dump methods to stacktrace 2016-12-19 10:02:24 +00:00
Marko Budiselic
dc3433aa8a Stack Allocator Unit Test
Summary: Stack Allocator Unit Test

Test Plan: manual (unit tests are not passing because malloc and free counters have to be added)

Reviewers: sale

Subscribers: sale, buda

Differential Revision: https://memgraph.phacility.com/D21
2016-12-18 20:32:41 +01:00
Marko Budiselic
4d6c315c1e Block Allocator Test - initial implementation
Summary: Block Allocator Test - initial implementation

Test Plan: ctest -R memgraph_unit_block_allocator

Reviewers: sale

Subscribers: sale, buda

Differential Revision: https://memgraph.phacility.com/D20
2016-12-18 19:23:58 +01:00
sale
fcc1642cad Final signal handler test and stacktrace update 2016-12-16 16:10:29 +00:00
sale
b4c65d9680 Stacktrace dump method added
Summary: Stacktrace dump method added

Test Plan: manual

Reviewers: buda

Subscribers: buda

Differential Revision: https://memgraph.phacility.com/D19
2016-12-16 14:50:19 +00:00
sale
9154f9b719 Added signal handler and refactored exception handler
Summary: Added signal handler and refactored exception handler

Test Plan: manual

Reviewers: buda

Subscribers: buda

Differential Revision: https://memgraph.phacility.com/D17
2016-12-16 12:58:49 +00:00
Marko Budiselic
7b3c4c270e work in progress; TODO: change commit message 2016-12-14 10:27:41 +01:00
sale
58b9c45ff2 Merge branch 'dev' of https://memgraph.phacility.com/diffusion/MG/memgraph into dev 2016-12-12 09:22:32 +00:00
sale
a215e185c6 Merge branch 'T115' into dev 2016-12-12 09:21:41 +00:00
sale
52c5159bc0 Bloom filter code review changes 2016-12-07 13:20:53 +00:00
Marko Budiselic
874d79e678 File System Watcher Implementation
Summary:
Merge branch 'dev' into mgcore_T159_inotify

File System Watcher Implementation (unfinished) just sent for the initial review (the implementation will be updated soon)

Test Plan: manual

Reviewers: sale

Subscribers: sale, buda

Differential Revision: https://memgraph.phacility.com/D16
2016-12-05 13:35:17 +01:00
Marko Budiselic
22ca1128b7 Merge branch 'dev' into mgcore_T159_inotify 2016-12-05 10:59:52 +01:00
Marko Budiselic
2c94d89f9f File System Watcher Implementation 2016-12-05 10:10:12 +01:00
sale
9b03fd1f04 Added Basic BloomFilter and BloomConcurrentMap
Summary: Added Basic BloomFilter and BloomConcurrentMap

Test Plan: manual

Reviewers: buda

Subscribers: buda

Maniphest Tasks: T115

Differential Revision: https://memgraph.phacility.com/D15
2016-12-05 09:03:11 +00:00
Marko Budiselic
ae28cdc424 Merge branch 'mgcore_T157_dsmove' into mgcore_T156_lintfix 2016-12-04 10:20:21 +01:00
Marko Budiselic
0a0e5e93da src/demo was removed, src/examples and src/benchmarks were moved to the top level 2016-12-04 10:20:14 +01:00
Marko Budiselic
f9af76c364 data_structures moved from src/
Summary: data_structures moved from src/

Test Plan: manual

Reviewers: sale

Subscribers: buda, sale

Differential Revision: https://memgraph.phacility.com/D14
2016-12-03 23:28:07 +01:00
Marko Budiselic
0c65a9e97e Merge branch 'T99' into dev 2016-12-01 10:55:22 +01:00
Marko Budiselic
6355dd4f4d PtrInt data structure (Pointer Integer pair inside one pointer location). Part of T150
Summary: PtrInt data structure (Pointer Integer pair inside one pointer location). Part of T150

Test Plan: manual

Reviewers: sale

Subscribers: buda, sale

Differential Revision: https://memgraph.phacility.com/D11
2016-11-30 17:21:22 +01:00
Marko Budiselic
cfd36be2e0 All possible request changes from D9#146 are done 2016-11-30 11:05:48 +01:00
sale
a621370270 Generate Stacktrace fixed 2016-11-29 14:24:27 +00:00
sale
7197433905 Refactored BasicException
Summary: Refactored BasicException

Test Plan: manual

Reviewers: buda

Subscribers: buda

Maniphest Tasks: T129

Differential Revision: https://memgraph.phacility.com/D10
2016-11-29 13:30:31 +00:00
Marko Budiselic
5eb90f9e52 DRESSIPI BUILD #2; some queries are hardcoded + bug fixes (still in progress) 2016-11-29 14:08:29 +01:00
sale
b4fc263be1 Code review D8 changes 2016-11-29 11:46:29 +00:00
Marko Budiselic
21788d003a Dressipi CRUD queries are dummy implemented; Fixes T99 and T131
Summary: Dressipi CRUD queries are dummy implemented; Fixes T99 and T131

Test Plan: manual

Reviewers: sale

Subscribers: buda, sale

Maniphest Tasks: T131, T99

Differential Revision: https://memgraph.phacility.com/D9
2016-11-29 04:08:49 +01:00
sale
228ae4cc72 Added ProgramArguments util and test; Added ProgramArgument parser to concurrent benchmark tests 2016-11-28 15:39:25 +00:00
sale
d8a82b45fc Runned clang-format over concurrent_map benchmark test and random::utils::generator 2016-11-23 13:47:52 +00:00
sale
0a56df3ddf Added benchmark test for ConcurrentMap; Added PairRandomGenerator to utils;
Summary: Added Benchmark Test for ConcurrentMap; Added PairGenerator to utils::random

Test Plan: manual

Reviewers: buda

Subscribers: buda

Differential Revision: https://memgraph.phacility.com/D7
2016-11-23 13:36:30 +00:00
sale
8916b77418 Clang-Formated utils/random/generator.h 2016-11-22 17:02:14 +00:00
sale
5a8a7bea65 Added basic random utility 2016-11-22 16:35:11 +00:00
sale
bbd6f91e5f Added benchmark test for QueryStripper; Fixed timer bug
Summary: Added benchmark for QueryStripper; Fixed Timer bug;

Test Plan: manual

Reviewers: buda

Subscribers: buda

Maniphest Tasks: T100

Differential Revision: https://memgraph.phacility.com/D5
2016-11-22 10:35:30 +00:00
Marko Budiselic
afc0a4a176 better architecture for hardcoded test queries (still has to be polished) 2016-11-17 15:46:36 +01:00
Marko Budiselic
8362b64e9f DRESSIPI FIRST PILOT RELEASE (release script update) 2016-11-04 12:05:35 +01:00
Marko Budiselic
dba261036b Dressipi Test Cases No 1 - DONE 2016-11-04 01:49:21 +01:00
Marko Budiselic
d45121a1a2 scenario 000001 pass, dressipi scenario 1 - 3 more queries have to be implemented 2016-11-02 16:05:02 +01:00
Marko Budiselic
7d85bc2bc0 match by label and properties; TODO: fix bug with bolt buffers 2016-10-19 17:07:40 +02:00
Marko Budiselic
c312c2e369 iterators, properties, search by properties in index hardcoded query; TODO: implement in compiler 2016-10-19 02:41:06 +02:00
Marko Budiselic
8ff79c3ace Everything is prepared for code generation for query like MATCH (n:Label {properties}) RETURN n 2016-10-15 20:16:32 +02:00
Marko Budiselic
6cce530b6c barrier ifdefs (TODO: barrier should be removed) 2016-10-13 15:42:19 +02:00
Marko Budiselic
51b17c2402 dressipi sprint 1 work in progress, labels function support, delete all 2016-10-11 02:43:41 +02:00
Marko Budiselic
f5cf9c72d2 skiplist benchmark 2016-10-04 15:09:21 +02:00
Kruno Tomola Fabro
d806d635f9 Added documentation.
Fixed test for index.
2016-09-18 23:22:36 +01:00
Marko Budiselic
ee23b0204d comments refactor 2016-09-17 15:31:35 +01:00
Kruno Tomola Fabro
8fd713d93d Changes for benchmarking on AWS.
Added files missing file to copy in barier.sh.
Updated barrier.
2016-09-16 20:33:30 +01:00
Kruno Tomola Fabro
ed919b615a Merge branch 'tests' into demo 2016-09-16 20:29:57 +01:00
Marko Budiselic
7eff53e10f Merge branch 'demo' of https://phabricator.tomicevic.com/diffusion/MG/memgraph into demo 2016-09-16 12:58:42 +01:00
Marko Budiselic
d19a33f55e comments in command_line/arguments.hpp 2016-09-16 12:58:11 +01:00
Kruno Tomola Fabro
fd202b1ed7 Finished stack allocator. 2016-09-15 20:19:31 +01:00
Kruno Tomola Fabro
c75382cb02 Tmp commit. 2016-09-14 12:19:56 +01:00
Marko Budiselic
c67742e3fa dressipi usecase hardcoded 2016-09-14 12:19:56 +01:00
Kruno Tomola Fabro
e22074ad9f Added test for snapshot with stored index. 2016-09-13 17:02:04 +01:00
Kruno Tomola Fabro
266d8ed055 Transformed dressipi astar into a query. 2016-09-13 14:17:50 +01:00
Kruno Tomola Fabro
6e4096d619 Added flag for optional import of database. 2016-09-13 12:21:07 +01:00
Kruno Tomola Fabro
10e69cd3db Ready to turn astar into query. 2016-09-13 12:14:16 +01:00
Kruno Tomola Fabro
1a136af84a Merge branch 'memory' into snapshot 2016-09-12 20:18:30 +01:00
Kruno Tomola Fabro
2a59ed8906 Minor refactorings:
Importes now use logger.

Refactored order of constrution of objects in Db.

Moved index creation/removing from Db to Indexes.

Completed Garbage class.
Cleaner now calls garbage.clean() for databases.

Renamed List to ConcurrentList which better names it.
2016-09-12 20:13:04 +01:00
Kruno Tomola Fabro
efbae39f41 Added logic for cleaning older snapshots. 2016-09-11 22:22:52 +01:00
Kruno Tomola Fabro
cd528b9bd6 Uplifted int32 to int64 and float to double in csv_import. 2016-09-11 21:30:31 +01:00
Kruno Tomola Fabro
443d0e0098 Changed TransactionId to TransactionRead. 2016-09-09 20:56:53 +01:00
Kruno Tomola Fabro
16868afb72 Added 3 tests for snapshot. 2016-09-09 20:44:34 +01:00
Kruno Tomola Fabro
cf497dd522 Extracted from snapshoter => snapshot_engine. 2016-09-09 18:48:15 +01:00
Kruno Tomola Fabro
911eeff1d9 Snapshot store and load works. 2016-09-09 16:14:20 +01:00
Kruno Tomola Fabro
74b9305285 Merge branch 'dev' of https://phabricator.tomicevic.com/diffusion/MG/memgraph into snapshot 2016-09-08 13:30:44 +01:00
Kruno Tomola Fabro
4443cb8b7b Finished creating part of snapshot. 2016-09-08 13:25:52 +01:00
Marko Budiselic
35f882644e config is better now (yaml-cpp) + web::Client + web::Logger
Summary:
init struct size problem fix

cast issue bolt::State::init

TCP server bugfix EPOLLET + bolt bug fix

Test Plan: normal

Reviewers: ktf

Subscribers: ktf

Maniphest Tasks: T87

Differential Revision: https://phabricator.tomicevic.com/D2
2016-09-08 12:13:30 +01:00
Kruno Tomola Fabro
3e0534c610 Removed RecordLock from record. It wasn't used. 2016-09-06 13:12:11 +01:00
Kruno Tomola Fabro
e1e7f3759d Decreased footprint of union in StoredProperty. 2016-09-06 12:13:08 +01:00
Kruno Tomola Fabro
cfc807cc03 Merge branch 'T87' of https://phabricator.tomicevic.com/diffusion/MG/memgraph into property 2016-09-05 15:56:57 +01:00
Kruno Tomola Fabro
0ca1436703 Fixed bug where mask for casting Flags to Type was to small. 2016-09-05 15:56:08 +01:00
Marko Budiselic
c14a692493 init struct size problem fix 2016-09-05 15:54:56 +01:00
Kruno Tomola Fabro
5d235b51f3 tmp commit
tmp commit

tmp commit v2

Finished reimplementation of propertys.
They now can be placed in a holder with different source of type information.

Tmp commit
2016-09-05 10:02:48 +01:00
Marko Budiselic
8e5dbd4703 config is better now (yaml-cpp) + web::Client + web::Logger 2016-09-05 01:39:30 +01:00
Marko Budiselic
95dd0a65b7 RELEASE 363 - AVAILABLE ON 30.08.2016. 2016-08-31 15:47:42 +01:00
Marko Budiselic
1a05cc0bf6 xorshift standard 2016-08-30 23:37:41 +01:00
Marko Budiselic
32bdc4fd5e Merge branch 'dev' of https://phabricator.tomicevic.com/diffusion/MG/memgraph into dev 2016-08-30 23:23:20 +01:00
Marko Budiselic
5bba920944 release/barrier 2016-08-30 23:23:12 +01:00
Kruno Tomola Fabro
8fa73eee43 Merge with dev. 2016-08-30 23:09:56 +01:00
Kruno Tomola Fabro
2ab3600117 Added partial test for cleaner. 2016-08-30 23:07:42 +01:00
Marko Budiselic
1f448ef1fd Merge branch 'error_handlig' of https://phabricator.tomicevic.com/diffusion/MG/memgraph into dev 2016-08-30 21:00:12 +01:00
Marko Budiselic
781376a960 First version which will be sent to the pilot users 2016-08-30 20:52:46 +01:00
Kruno Tomola Fabro
ae4e52ff69 Extracted class Composable from BaseIterator.
Added iter::Virtual.
Indexes::for_all now return iter::Virtual
2016-08-30 18:13:23 +01:00
Kruno Tomola Fabro
2eb5d3c3ff Added basic exception handlig.
Changed methods insert in Vertices and Edges to be valid even if exception occurs.
2016-08-30 15:12:30 +01:00
Kruno Tomola Fabro
035e508840 Merge branch 'dev' of https://phabricator.tomicevic.com/diffusion/MG/memgraph into dev 2016-08-30 08:54:48 +01:00