Mislav Bradac
ccdffa1d7e
Refactor TypedValue to PropertyValue
...
Summary:
Rename TypedValue to PropertyValue.
Move original TypedValue to query/backend/cpp.
Fix undefined behaviours and memory leaks in PropertyValue.
Add list type to PropertyValue.
Operators and appropriate tests will be revised in following commits.
Fix bugs in TypedValue
Fix bugs in typed value
Reviewers: buda, florijan
Reviewed By: buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D77
2017-03-01 12:31:47 +01:00
Mislav Bradac
b5274cd139
Reduce number of iterations in fswatcher test
...
Summary:
Trivial: iterations 10 -> 2. So that unit tests run for less time.
Put flaky warking in test.
Reviewers: buda
Reviewed By: buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D78
2017-03-01 11:24:51 +01:00
Marko Budiselic
082465ff15
For each hardcoded query plan there is a build target -> that will improve Memgraph's testability + update of release script (release/alpha.sh)
...
Summary: For each hardcoded query plan there is a build target -> that will improve Memgraph's testability + update of release script (release/alpha.sh)
Reviewers: florijan, mislav.bradac, mferencevic, dgleich
Reviewed By: dgleich
Subscribers: pullbot, buda
Differential Revision: https://phabricator.memgraph.io/D75
2017-02-28 19:00:59 +01:00
Dominik Gleich
f6529cd4c3
Clique #1 and #2 works.
...
Summary:
Merge branch 'dev' into clique_1
Started implementing clique.
Merge branch 'dev' into clique_1
Add multilne query reload.
Clique 1# implementation.
Merge branch 'dev' into clique_1
Clique #1 and #2 implemented.
Add delete all query. Remove unique from clique.
Reviewers: florijan, mislav.bradac, buda
Reviewed By: florijan, mislav.bradac, buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D73
2017-02-28 12:51:40 +01:00
Marko Budiselic
a32b2831e5
copy hardcoded queries
...
Summary: copy hardcoded queries
Reviewers: dgleich, mislav.bradac, florijan, mferencevic
Reviewed By: dgleich
Subscribers: buda
Differential Revision: https://phabricator.memgraph.io/D74
2017-02-27 18:26:51 +01:00
Dominik Gleich
1946ab6e07
Update template.
...
Summary: Delete old implementations. Update template
Reviewers: buda
Reviewed By: buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D72
2017-02-27 14:12:21 +01:00
Dominik Gleich
e74d9123b1
Fix wrong comparision of property.
...
Reviewers: buda
Reviewed By: buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D71
2017-02-27 14:12:05 +01:00
Dominik Gleich
be0f9d9796
Fix hardcoded queries to accomodate commit not returing boolean.
...
Reviewers: buda
Reviewed By: buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D69
2017-02-24 13:14:40 +01:00
Dominik Gleich
82414b9111
Fix naming of asserts.runtime_assert & assert -> debug_assert
...
Summary:
Merge branch 'dev' into rename_assert
Fix new files.
Remove cassert.
Reviewers: buda
Reviewed By: buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D66
2017-02-24 11:41:55 +01:00
Dominik Gleich
af23253e7e
Implement less than operator.
...
Summary:
Add test.
Vertex accessor test checks for sortability.
Reviewers: buda, florijan, mislav.bradac
Reviewed By: buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D62
2017-02-24 10:10:24 +01:00
Mislav Bradac
ca90f813ad
Start implementing compiler structures
...
Summary:
Merge remote-tracking branch 'origin/dev' into mg_compiler_structs
Merge remote-tracking branch 'origin/dev' into mg_compiler_structs
Implement compiler structures and tests
Reviewers: florijan, buda
Reviewed By: buda
Subscribers: pullbot, florijan, buda
Differential Revision: https://phabricator.memgraph.io/D61
2017-02-23 18:12:24 +01:00
Dominik Gleich
8220808f56
Created test case input for Dressipi.
...
Summary:
Add vertex stream operator. Implement #0 , #1 query.
Support first batch of queries for testDB. Improve record stream handler. Query engine now supports multiline queries patterns in file comments.
Second and third batch of tests complete. Add functionality to print_record_stream.
Include 4th batch.
Crete a shared function for properties output.
Reviewers: buda
Reviewed By: buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D60
2017-02-23 15:07:36 +01:00
Marko Budiselic
ede318c2dd
Memgraph gmock support has been added
...
Summary: Memgraph gmock support has been added
Reviewers: mislav.bradac
Reviewed By: mislav.bradac
Subscribers: buda
Differential Revision: https://phabricator.memgraph.io/D59
2017-02-22 16:38:23 +01:00
Dominik Gleich
d72383c0af
Implement record stream mocker.
...
Summary:
Begin record stream mocker implementation.
Record stream mocker alongside tests created.
Test Plan: Run record_stream_mocker in tests.
Reviewers: mislav.bradac, florijan, buda
Reviewed By: buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D54
2017-02-21 15:50:10 +01:00
Marko Budiselic
30f4e9d47a
Futex test execution time was too long
...
Summary: Futex test execution time was too long
Test Plan: manual
Reviewers: dgleich
Reviewed By: dgleich
Subscribers: pullbot, dgleich, buda
Differential Revision: https://phabricator.memgraph.io/D56
2017-02-21 15:47:15 +01:00
Dominik Gleich
e0f399ac42
Fix manual query engine config and paths.
...
Test Plan: In progress.
Reviewers: buda
Reviewed By: buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D55
2017-02-21 15:41:44 +01:00
Marko Budiselic
2cee2cf480
youcompleteme config has been added to the repo
...
Summary: youcompleteme config has been added to the repo
Test Plan: manual
Reviewers: mislav.bradac
Reviewed By: mislav.bradac
Subscribers: pullbot, buda
Differential Revision: https://phabricator.memgraph.io/D53
2017-02-20 14:17:41 +01:00
Marko Budiselic
fb90394499
A better configuration of cmake & clion
2017-02-20 01:25:57 +01:00
Marko Budiselic
2a046bba78
all unit tests are gtests
2017-02-19 23:47:09 +01:00
Marko Budiselic
3642fb1312
examples folder has been removed; src/test folder has been removed; the existing tests were moved to tests folder; StacktraceException has been introduced; query_plan_templated has been moved to query folder; hazard pointers have been deleted because they are not used any more
2017-02-18 18:03:48 +01:00
Marko Budiselic
0198b37f21
benchmark folder has been removed from the root dir, README update, measure_time.hpp comments
2017-02-18 14:36:50 +01:00
Marko Budiselic
d4e3c4cd10
clang format has been run on all hpp and cpp files under src and tests
2017-02-18 11:54:37 +01:00
Marko Budiselic
e7f5bd4c21
antlr integration, *.hpp and *.cpp inside src dir, cleanup
...
Summary: antlr integration, *.hpp and *.cpp inside src dir, cleanup
Test Plan: manual
Reviewers: mislav.bradac, dgleich, florijan
Reviewed By: florijan
Subscribers: pullbot, buda
Differential Revision: https://phabricator.memgraph.io/D49
2017-02-17 16:20:31 +01:00
florijan
a11ebef9c5
Properties system and core storage major refactor. STABLE STATE, unit tests added.
2017-02-16 17:43:39 +01:00
florijan
55f1912910
Properties refactoring: STABLE STATE. Memgraph compiles. Properties are out. Tests are in progress.
2017-02-16 15:47:55 +01:00
florijan
70a8b93b0b
Major properties system and database accessor refactor: first stable state (compiles).
2017-02-15 14:10:16 +01:00
florijan
9e09186d30
Properties refactor in progress. Dev merge (query execution landed). UNSTABLE STATE
2017-02-14 10:17:03 +01:00
Marko Budiselic
0fcda94162
Hardcoded query infrastructure - first concrete version - USEFUL FOR: POCs & pilots
...
Summary: Hardcoded query infrastructure - first concrete version - USEFUL FOR: POCs & pilots
Test Plan: manual + jenkins
Reviewers: sale, florijan
Reviewed By: florijan
Subscribers: pullbot, buda
Differential Revision: https://phabricator.memgraph.io/D45
2017-02-14 09:40:31 +01:00
Florijan Stamenkovic
ee523d5080
Continuing major refactor, UNSTABLE STATE. Merged current dev
2017-02-07 13:22:07 +01:00
Florijan Stamenkovic
6d981c9cd0
Skiplist minor bugfixes
...
Summary: Skiplist - fixed support for insertion of (const T&) objects. Before only (T&&) worked.
Test Plan: Tested already with slightliy modified tests.
Reviewers: buda
Reviewed By: buda
Subscribers: pullbot, florijan, buda
Differential Revision: https://phabricator.memgraph.io/D48
2017-02-07 13:15:56 +01:00
Florijan Stamenkovic
b38704391c
Typed-value migration in progress. UNSTABLE STATE
2017-02-06 12:40:55 +01:00
Florijan Stamenkovic
b374ae1dbb
storage and database major refactor in progress, also switching from properties to typed-value system. a lot of overdesigned functionalities cut down, new implementations just started. VERY UNSTABLE STATE
2017-02-04 09:01:56 +01:00
Florijan Stamenkovic
10c7514c8a
storage/model - added typed_value system and tests. Modified utils slightly (backward compatible).
...
Summary: Added TypedValue system.
Test Plan: ???
Reviewers: sale, buda
Reviewed By: buda
Subscribers: pullbot, florijan, buda, sale
Differential Revision: https://phabricator.memgraph.io/D46
2017-02-02 15:48:16 +01:00
Florijan Stamenkovic
261797ea9c
storage/model/typed_value - fixes after code review
2017-02-02 10:29:14 +01:00
Florijan Stamenkovic
b329225322
storage/model - added typed_value system and tests. Modified utils slightly (backward compatible).
...
Summary: Added TypedValue system.
Test Plan: ???
Reviewers: sale, buda
Subscribers: florijan, buda, sale
Differential Revision: https://phabricator.memgraph.io/D46
2017-02-01 14:05:08 +01:00
sale
99b8a4f234
Added Skiplist ReverseIterator, Distance Approximation Prototype and documented some stuff
...
Summary: Skiplist ReverseIterator and Distance Approximation
Test Plan: manual
Reviewers: florijan, buda
Reviewed By: buda
Subscribers: pullbot, florijan, buda
Differential Revision: https://phabricator.memgraph.io/D44
2017-01-31 15:16:38 +01:00
Florijan Stamenkovic
4f649c9821
storage - UniqueObjectStore class added (with unit tests)
...
Summary: storage - UnoqueObjectStore documentation improved
Test Plan: no test plan
Reviewers: sale, buda
Reviewed By: sale, buda
Subscribers: pullbot, florijan, sale, buda
Differential Revision: https://phabricator.memgraph.io/D43
2017-01-24 14:46:11 +01:00
Florijan Stamenkovic
dee15acd1e
data_structures/union_find - minor refactors and tests added
...
Summary: Minor refactor of the union_find data structure. Testing added for union_find.
Test Plan: Manual
Reviewers: sale, buda
Reviewed By: sale, buda
Subscribers: pullbot, florijan, sale, buda
Differential Revision: https://phabricator.memgraph.io/D42
2017-01-23 15:20:09 +01:00
Marko Budiselic
30951cdb4b
Review updates (fswatcher test comments)
2017-01-13 10:21:45 +01:00
Marko Budiselic
b1c293ef72
Review updates (documentation, namespace naming)
2017-01-12 19:42:52 +01: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
6fe9da2578
gbenchmark reports are generated inside build/test_results/benchmark
2016-12-23 09:58:26 +01: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
Marko Budiselic
fd804f5e58
Merge branch 'MG_test_T196-Stack_Allocator_Test' into dev
2016-12-21 10:34:57 +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
Marko Budiselic
948694fd27
tests data bug fix - too many copies of tests/data
2016-12-18 10:16:07 +01:00
Marko Budiselic
715e4b302b
merge conflict resolved (tests/CMakeLists.txt)
2016-12-17 21:03:46 +01:00
Marko Budiselic
f4455daeb2
CMake refactor done - added single test granularity. Fixes T190, T194
2016-12-17 21:00:32 +01:00
sale
fcc1642cad
Final signal handler test and stacktrace update
2016-12-16 16:10:29 +00:00
Marko Budiselic
8854298606
First step towards more test granularity.
2016-12-16 14:32:37 +01:00
Marko Budiselic
d158333335
Added memgraph prefix. Fixes T160
...
Summary: Added memgraph prefix. Fixes T160
Test Plan: manual
Reviewers: sale
Subscribers: sale, buda
Maniphest Tasks: T160
Differential Revision: https://memgraph.phacility.com/D18
2016-12-16 14:05:29 +01: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
9c3a79bb18
Dressipi release no 3 Fixes T188
2016-12-15 11:52:28 +01:00
Marko Budiselic
5d278892f7
Merge branch 'dev' into MG_pilot_T188-Dressipi_release_no_3
2016-12-15 09:51:55 +01:00
Marko Budiselic
1613d813c5
The integration tests are fixed. Fixes T161
2016-12-14 12:32:56 +01: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
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
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
7362cab9f2
added test for size of PtrInt object
...
Summary: added test for size of PtrInt object
Test Plan: ctest -V ptr_int -R
Reviewers: sale
Subscribers: buda, sale
Differential Revision: https://memgraph.phacility.com/D12
2016-12-02 09:38:06 +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
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
6088b2712f
Finished benchmark tests for concurrent_map
...
Summary: Finished Benchmark Test for ConcurrentMap
Test Plan: manual
Reviewers: buda
Subscribers: buda
Differential Revision: https://memgraph.phacility.com/D8
2016-11-25 09:47:29 +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
1c3cf9c401
Stripper becnhmark moved to another folder
2016-11-22 16:42:24 +00:00
sale
09edde8572
T101
...
Summary: Created Basic Random Utility; Created folder for benchmark query stripper
Test Plan: manual
Reviewers: buda
Subscribers: buda
Differential Revision: https://memgraph.phacility.com/D6
2016-11-22 16:40:32 +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
e1e345ccbb
google benchmark support
2016-11-18 17:35:29 +01: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
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
Kruno Tomola Fabro
d806d635f9
Added documentation.
...
Fixed test for index.
2016-09-18 23:22:36 +01:00
Kruno Tomola Fabro
c75382cb02
Tmp commit.
2016-09-14 12:19:56 +01:00
Kruno Tomola Fabro
9bd845a62e
Added max_no_threads.
...
It is meant for easily change no threads in concurrent tests.
2016-09-13 18:08:34 +01:00
Kruno Tomola Fabro
a6f72dc3fd
Added stress test for ConncurentList.
2016-09-13 17:53:40 +01:00
Kruno Tomola Fabro
e22074ad9f
Added test for snapshot with stored index.
2016-09-13 17:02:04 +01:00
Kruno Tomola Fabro
81abee0d33
Tmp commit
2016-09-13 10:59:40 +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
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
e1e7f3759d
Decreased footprint of union in StoredProperty.
2016-09-06 12:13:08 +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
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
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
Marko Budiselic
32ca896425
merge with dev
2016-08-30 05:34:08 +01:00
Marko Budiselic
12880ba990
work in progress engine <-> barrier integration
2016-08-29 01:01:42 +01:00
Kruno Tomola Fabro
eaf2025cab
Merged with dev.
2016-08-28 21:16:36 +01:00
Kruno Tomola Fabro
8ace2927c9
poc/profile.cpp works over barrier.hpp
2016-08-28 19:36:52 +01:00
Marko Budiselic
9416bc7085
QueryEngine is now templated with Stream, Bolt bugfix (one message can have many chunks)
2016-08-28 18:50:54 +01:00
Kruno Tomola Fabro
77a3298d1e
tmp
2016-08-28 15:47:13 +01:00
Kruno Tomola Fabro
79015177b2
Fixed tests.
2016-08-19 19:09:24 +01:00
Kruno Tomola Fabro
a1fc3244ef
Merge branch 'tests' into dev
2016-08-19 18:48:48 +01:00
Marko Budiselic
427a7bbe4b
merged interface branch
2016-08-19 11:28:10 +01:00
Kruno Tomola Fabro
7527e91d56
Build pass changes.
2016-08-18 16:03:05 +01:00
Kruno Tomola Fabro
5a42e15c4a
Alpha version of label indexes.
...
Squashed messages from 9 commits:
9.
Properties now uses PropertyFamily and contained classes.
Fetching,seting,clearing properties can be done with PropertyFamilyKey or PropertyTypeKey.
Hierarchy of newly added clases is:
Vertices -n-> PropertyFamily {name: String} <-1-n-> PropertyType {type: Property::Flags}
Edges -n-> PropertyFamily {name: String} <-1-n-> PropertyType {type: Property::Flags}
PropertyFamilyKey -> PropertyType
PropertyTypeKey -> PropertyType
PropertyType t0,t1;
let t0!=t1 be true
let t0.family==t1.family be true
then next is true
PropertyTypeKey{&t0}!=PropertyTypeKey{&t1}
PropertyFamilyKey{&t0}==PropertyFamilyKey{&t1}
PropertyFamilyKey{&t0}==PropertyTypeKey{&t1}
PropertyTypeKey{&t0}==PropertyFamilyKey{&t1}
8.
Intermedate commit.
Noticed that integration queries throw SEGFAULT.
7.
Defined interface for indexes.
Fixed three memory leaks.
Fixed integration_queries test which now passes.
6.
Commit which return Xorshift128plus to valid shape.
5.
Tmp commit.
4.
Label Index is compiling.
3.
tmp
2.
Vertex::Accessor now updates Label index.
1.
Applied changes for code review.
2016-08-18 15:34:36 +01:00
Kruno Tomola Fabro
df0bf6fa5f
Database interface refactor.
...
DbAccessor:
-Guarantees that access to Vertex and Edge is possible only through
Vertex::Accessor and Edge::Accessor.
-Guarantees that changing Vertex and Edge is possible only using
Vertex::Accessor returned by vertex_insert() method and
Edge::Accessor returned by edge_insert() method.
-Offers CRUD for Vertex and Edge except iterating over all edges.
Squashed commit messages:
First step in database accessor refactoring done.
It's compiling.
All tests with exception of integration_querys pass
Tests now initialize logging facilities.
Refactored accessors.
RecordAccessor now has 3 states.
From,To,Out,In in there respecive Accessors return unfilled RecordAccessor.
Added iterator classes into utils/itearator/.
2016-08-15 00:09:58 +01:00
Marko Budiselic
a3a8dc7c28
logger update, stderr stream is added
2016-08-14 12:43:34 +01:00
Kruno Tomola Fabro
02ec6dd401
merge with edges, from and to are moved to the EdgeRecord, they are not copied along with properties inside the MVCC, TODO: graph interface, Accessor and Stores
2016-08-11 15:13:19 +01:00
Kruno Tomola Fabro
635c55cc45
Merge branch 'dev' of https://phabricator.tomicevic.com/diffusion/MG/memgraph into dev
2016-08-11 14:15:48 +01:00
Kruno Tomola Fabro
fdd64dd6ed
Refactored
2016-08-11 14:08:11 +01:00
Marko Budiselic
93b174afd7
First integration almost done. BOLT still doesn't work as expected, problem is only serialization order.
2016-08-11 04:47:30 +01:00
Kruno Tomola Fabro
15f7b14704
Finished remove method in RhMultiMap.
...
Remove passes tests.
Needs refactoring, has lot of duplicate code.
2016-08-10 23:05:24 +01:00
Kruno Tomola Fabro
3fffa17b0d
Started adding remove methods.
...
Discovered bugs in HashMultiMap and after fixing it add method is now little slower but
find method is medium faster. So it turned out good.
2016-08-10 20:02:54 +01:00
Marko Budiselic
869da8dcda
All files for the Release are now isolated
2016-08-10 09:39:02 +01:00
Kruno Tomola Fabro
c3c8fb6620
Commit before branching to chane EdgeModel and EdgeRecord.
2016-08-09 16:44:39 +01:00
Kruno Tomola Fabro
3016494669
Added RobinHood HashMap and unit tested.
2016-08-09 11:53:10 +01:00
Marko Budiselic
84e69bb1d3
fmt wrapper + proof of concept folder
2016-08-08 09:32:34 +01:00
Kruno Tomola Fabro
36019f561b
Implemented lockfree list and added unit test for it.
2016-08-03 10:27:18 +01:00
Marko Budiselic
b5f884d428
Merge branch 'dev' of https://phabricator.tomicevic.com/diffusion/MG/memgraph into dev
2016-08-02 17:05:15 +01:00
Kruno Tomola Fabro
f226a9d6c5
Added Bitset tests.
2016-08-02 17:05:10 +01:00
Kruno Tomola Fabro
0dfb8d13c3
Merge branch 'dev' of https://phabricator.tomicevic.com/diffusion/MG/memgraph into tests
2016-08-02 15:45:12 +01:00
Marko Budiselic
3b8746573d
Merge branch 'dev' of https://phabricator.tomicevic.com/diffusion/MG/memgraph into dev
2016-08-02 15:42:38 +01:00
Marko Budiselic
f05c1f6dab
CRU operations are fully supported, D (delete) is missing
2016-08-02 15:41:53 +01:00
Kruno Tomola Fabro
e16b576a6e
Added support for multiset.
...
Minor fixes to tests.
MultiIterator & MultiMap work.
There are some unfinished optimizations in the code commented.
All tests pass. Some common parts from tests have been moved.
2016-08-02 13:23:39 +01:00
Dominik Tomičević
da15775afa
Merge branch 'bolt-protocol' into dev
...
* bolt-protocol:
implemented bolt protocol
2016-08-01 22:21:49 +01:00
Dominik Tomičević
eda9d67bbe
implemented bolt protocol
2016-08-01 22:14:09 +01:00
Kruno Tomola Fabro
bf174644de
Reformated code acording to format rules in .clang-format.
2016-07-31 13:56:13 +01:00
Kruno Tomola Fabro
246cf1fd78
Added some comments.
2016-07-31 11:40:38 +01:00
Kruno Tomola Fabro
ac7f6f507f
Implemented ConncurentMap and updated it's users.
...
Added tests for ConcurrentMap.
Implemented ~SkipList.
2016-07-30 21:20:21 +01:00
Marko Budiselic
356e9444ec
A lot of work on query_engine. Still in progress!
2016-07-24 03:47:48 +01:00
Marko Budiselic
b1459a891b
work in progress query_engine
2016-07-17 18:32:35 +01:00
Marko Budiselic
396f0d9c31
query engine better version
2016-07-17 01:22:43 +01:00
Marko Budiselic
8a3aee1ba6
cypher parser is extended again (find by internal_id ID(n)=internal_id)
2016-07-11 20:10:53 +01:00
Marko Budiselic
c8440b4671
tests/manual/query_engine.cpp work in compiler in progress
2016-07-11 02:39:33 +01:00
Marko Budiselic
84db4b6657
cypher parser update
2016-07-09 19:05:02 +01:00
Marko Budiselic
b538fb041c
first integration test (basic set of queries is tested)
2016-07-07 01:58:26 +01:00
Marko Budiselic
2b1fc70695
some header files are splitted (WORK IN PROGRESS)
2016-07-05 13:20:33 +01:00
Marko Budiselic
b94cae12d1
some new header + source files (vertices, vertex_accessor, properties), first version of Index works, skiplist<T> + concurrent_set + concurrent_map (still has to be finished)
2016-07-05 04:01:22 +01:00
Marko Budiselic
5110cde698
query engine code, labels (unfinished), TODO: query engine module system
2016-07-01 22:05:03 +01:00
Marko Budiselic
04319c09e3
expression can be eather pattern expression or value expression
2016-06-26 12:27:26 +01:00
Marko Budiselic
b5536d70fa
delete accessor from version list + build flow update + memgraph docker file + TODO: debug cypher grammar
2016-06-25 17:26:26 +01:00
Marko Budiselic
83f094a15f
utils/assert code, static array, skiplist tests and bug fix
2016-06-16 19:07:49 +01:00
Marko Budiselic
425be0acad
permanent and runtime assert
2016-06-14 23:06:21 +01:00
Marko Budiselic
c79706c249
concurrent and unit tests, concurrently linked list test (not production ready linked list :))
2016-06-06 23:57:16 +02:00
Marko Budiselic
4d03dcd545
Number of tests is now 6
2016-06-05 14:30:40 +02:00
Marko Budiselic
a4cadedffe
more appropriate test for storage/indexes/index.hpp (very beginning of indexes work); utils/type_discovery.hpp is created
2016-06-05 12:12:25 +02:00
Marko Budiselic
18ee30f69e
db_index test -> the index creation is tested for now
2016-06-05 09:48:34 +02:00
Marko Budiselic
83880f8244
Return list is expanded, this commit is related to T45
2016-06-03 16:48:23 +02:00
Marko Budiselic
c4e0e68e0b
lemon and lexertl are removed from src folder, cmake custom target is created to better automate process of testing, cypher return list is now list of expressions
2016-05-28 21:24:48 +02:00
Marko Budiselic
14e38ff358
Test infrastructure (ctest)
2016-05-25 00:37:14 +02:00
Marko Budiselic
18838f5318
cypher_quries are moved to the tests folder and another part of CMakeLists file is written
2016-05-23 07:51:36 +02:00
Marko Budiselic
8aed81de38
Resolves T46; CMake + CTest setup
2016-05-15 22:43:42 +02:00