memgraph/tests/unit
andrejtonev 8b9e1fa08b
Replication refactor part 6 (#1484)
Single (instance level) connection to a replica (messages from all databases get multiplexed through it)
ReplicationClient split in two: ReplicationClient and ReplicationStorageClient
New ReplicationClient, moved under replication, handles the raw connection, owned by MainRoleData
ReplicationStorageClient handles the storage <-> replica state machine and holds to a stream
Removed epoch and storage from *Clients
rpc::Stream proactively aborts on error and sets itself to a defunct state
Removed HandleRpcFailure, instead we simply log the error and let the FrequentCheck handle re-connection
replica_state is now a synced variable
ReplicaStorageClient state machine bugfixes
Single FrequentCheck that goes through DBMS
Moved ReplicationState under DbmsHandler
Moved some replication startup logic under the DbmsHandler's constructor
Removed InMemoryReplicationClient
CreateReplicationClient has been removed from Storage
Simplified GetRecoverySteps and made safer

---------

Co-authored-by: Gareth Lloyd <gareth.lloyd@memgraph.io>
2023-11-23 11:02:35 +01:00
..
auth_checker.cpp Add experimental/v1 of ON_DISK_TRANSACTIONAL storage (#850) 2023-06-29 11:44:55 +02:00
auth_handler.cpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
auth.cpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
bfs_common.hpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
bfs_fine_grained.cpp Add experimental/v1 of ON_DISK_TRANSACTIONAL storage (#850) 2023-06-29 11:44:55 +02:00
bfs_single_node.cpp Add experimental/v1 of ON_DISK_TRANSACTIONAL storage (#850) 2023-06-29 11:44:55 +02:00
bolt_chunked_decoder_buffer.cpp Fix usages of constexpr (#367) 2022-03-31 13:52:43 +02:00
bolt_chunked_encoder_buffer.cpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
bolt_common.hpp Fix handling of the ROUTE Bolt message (#475) 2022-08-26 13:19:27 +02:00
bolt_decoder.cpp Fix usages of constexpr (#367) 2022-03-31 13:52:43 +02:00
bolt_encoder.cpp Add experimental/v1 of ON_DISK_TRANSACTIONAL storage (#850) 2023-06-29 11:44:55 +02:00
bolt_session.cpp Refactor interpreter to support multiple distributed clocks (Part 1) (#1281) 2023-10-05 16:58:39 +02:00
bolt_testdata.hpp Fix usages of constexpr (#367) 2022-03-31 13:52:43 +02:00
clearing_old_disk_data.cpp Improve expansions on disk (#1335) 2023-10-11 10:18:50 +02:00
CMakeLists.txt Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
commit_log_v2.cpp Fix usages of constexpr (#367) 2022-03-31 13:52:43 +02:00
communication_buffer.cpp Fix usages of constexpr (#367) 2022-03-31 13:52:43 +02:00
cpp_api.cpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
csv_csv_parsing.cpp Add HTTP+GZIP support to LOAD CSV (#1027) 2023-06-26 19:10:48 +02:00
cypher_main_visitor.cpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
database_get_info.cpp Replication refactor (part 5) (#1378) 2023-11-06 11:50:49 +00:00
dbms_database.cpp Replication refactor (part 5) (#1378) 2023-11-06 11:50:49 +00:00
dbms_handler_community.cpp Replication refactor part 6 (#1484) 2023-11-23 11:02:35 +01:00
dbms_handler.cpp Replication refactor part 6 (#1484) 2023-11-23 11:02:35 +01:00
disk_test_utils.hpp Add experimental/v1 of ON_DISK_TRANSACTIONAL storage (#850) 2023-06-29 11:44:55 +02:00
distributed_lamport_clock.cpp Refactor interpreter to support multiple distributed clocks (Part 1) (#1281) 2023-10-05 16:58:39 +02:00
formatters.hpp Improve performance of delta creation (#1129) 2023-09-06 11:30:21 +02:00
integrations_kafka_consumer.cpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
interpreter_faker.hpp Refactor interpreter to support multiple distributed clocks (Part 1) (#1281) 2023-10-05 16:58:39 +02:00
interpreter.cpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
kafka_mock.cpp Fix usages of constexpr (#367) 2022-03-31 13:52:43 +02:00
kafka_mock.hpp Add license to cpp/hpp/py test files (#283) 2021-10-26 08:53:56 +02:00
kvstore.cpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
license.cpp Add multiple license support (#618) 2022-11-04 15:23:43 +01:00
lru_cache.cpp Fix cached plan not getting invalidated (#1348) 2023-11-07 13:34:03 +01:00
main.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
metrics.cpp Add license to cpp/hpp/py test files (#283) 2021-10-26 08:53:56 +02:00
mgp_kafka_c_api.cpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
mgp_trans_c_api.cpp Making mgp_error enum class when compiling c++. Remains enum when com… (#389) 2022-05-05 17:48:17 +02:00
monitoring.cpp Fix WebSocket test (#485) 2022-08-08 14:49:48 +02:00
network_endpoint.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
network_timeouts.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
network_utils.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
plan_pretty_print.cpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
property_value_v2.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
query_common.hpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
query_cost_estimator.cpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
query_dump.cpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
query_expression_evaluator.cpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
query_function_mgp_module.cpp Making mgp_error enum class when compiling c++. Remains enum when com… (#389) 2022-05-05 17:48:17 +02:00
query_hint_provider.cpp Provide textual information for inefficient plans with notifications (#1343) 2023-10-24 22:20:05 +02:00
query_plan_accumulate_aggregate.cpp Aggregations return empty result when used with group by (#1531) 2023-11-20 11:52:17 +01:00
query_plan_bag_semantics.cpp Add experimental/v1 of ON_DISK_TRANSACTIONAL storage (#850) 2023-06-29 11:44:55 +02:00
query_plan_checker.hpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
query_plan_common.hpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
query_plan_create_set_remove_delete.cpp Extend property cache to the expression evaluator (#1432) 2023-10-28 20:32:58 -07:00
query_plan_edge_cases.cpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
query_plan_match_filter_return.cpp Refactor interpreter to support multiple distributed clocks (Part 1) (#1281) 2023-10-05 16:58:39 +02:00
query_plan_operator_to_string.cpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
query_plan_read_write_typecheck.cpp Use extent hooks for memory procedure limit (#1443) 2023-11-07 16:04:29 +01:00
query_plan_v2_create_set_remove_delete.cpp Improve expansions on disk (#1335) 2023-10-11 10:18:50 +02:00
query_plan.cpp Add cartesian and hash join operators (#1193) 2023-10-24 21:54:42 +02:00
query_pretty_print.cpp Add experimental/v1 of ON_DISK_TRANSACTIONAL storage (#850) 2023-06-29 11:44:55 +02:00
query_procedure_mgp_module.cpp Making mgp_error enum class when compiling c++. Remains enum when com… (#389) 2022-05-05 17:48:17 +02:00
query_procedure_mgp_type.cpp Add multi-tenancy v1 (#952) 2023-08-01 18:49:11 +02:00
query_procedure_py_module.cpp Add multi-tenancy v1 (#952) 2023-08-01 18:49:11 +02:00
query_procedures_mgp_graph.cpp Improve expansions on disk (#1335) 2023-10-11 10:18:50 +02:00
query_profile.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
query_required_privileges.cpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
query_semantic.cpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
query_serialization_property_value.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
query_streams.cpp Replication refactor (part 5) (#1378) 2023-11-06 11:50:49 +00:00
query_trigger.cpp Improve expansions on disk (#1335) 2023-10-11 10:18:50 +02:00
query_variable_start_planner.cpp Fix v2.9 release build issues (#1087) 2023-07-20 16:15:27 +02:00
replication_persistence_helper.cpp Replication refactor (part 5) (#1378) 2023-11-06 11:50:49 +00:00
ring_buffer.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
rpc_messages.hpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
rpc.cpp Refactor replication, part 3 (#1177) 2023-08-25 10:52:07 +01:00
skip_list.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
slk_advanced.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
slk_common.hpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
slk_core.cpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
slk_streams.cpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
small_vector.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
socket.cpp Speedup socket unit test (#1444) 2023-11-01 17:24:24 +00:00
storage_rocks.cpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
storage_test_utils.cpp Add experimental/v1 of ON_DISK_TRANSACTIONAL storage (#850) 2023-06-29 11:44:55 +02:00
storage_test_utils.hpp Include additional info inside storage mode info query (#883) 2023-05-16 14:25:41 +02:00
storage_v2_constraints.cpp Replication refactor (part 5) (#1378) 2023-11-06 11:50:49 +00:00
storage_v2_decoder_encoder.cpp Refactor interpreter to support multiple distributed clocks (Part 1) (#1281) 2023-10-05 16:58:39 +02:00
storage_v2_disk.cpp Add experimental/v1 of ON_DISK_TRANSACTIONAL storage (#850) 2023-06-29 11:44:55 +02:00
storage_v2_durability_inmemory.cpp Replication refactor (part 5) (#1378) 2023-11-06 11:50:49 +00:00
storage_v2_edge_inmemory.cpp [master < T1110] Add merge optimization to expand dynamically during runtime (#1110) 2023-09-08 17:12:25 +02:00
storage_v2_edge_ondisk.cpp Improve expansions on disk (#1335) 2023-10-11 10:18:50 +02:00
storage_v2_gc.cpp Refactor interpreter to support multiple distributed clocks (Part 1) (#1281) 2023-10-05 16:58:39 +02:00
storage_v2_get_info.cpp Rename memory usage and memory allocated (#1426) 2023-11-03 14:40:45 +01:00
storage_v2_indices.cpp Refactor interpreter to support multiple distributed clocks (Part 1) (#1281) 2023-10-05 16:58:39 +02:00
storage_v2_isolation_level.cpp Add experimental/v1 of ON_DISK_TRANSACTIONAL storage (#850) 2023-06-29 11:44:55 +02:00
storage_v2_name_id_mapper.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
storage_v2_property_store.cpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
storage_v2_replication.cpp Replication refactor part 6 (#1484) 2023-11-23 11:02:35 +01:00
storage_v2_show_storage_info.cpp Updated telemetry client-side (#1337) 2023-10-16 14:16:00 +02:00
storage_v2_storage_mode.cpp Durability improvements (#1385) 2023-11-07 11:37:54 +01:00
storage_v2_wal_file.cpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
storage_v2.cpp [master < T1110] Add merge optimization to expand dynamically during runtime (#1110) 2023-09-08 17:12:25 +02:00
stripped.cpp Add support for map projection (#892) 2023-05-16 20:05:35 +02:00
test_lcp.lisp LCP: Small test fixes 2019-05-10 16:10:17 +02:00
test_utils.hpp Making mgp_error enum class when compiling c++. Remains enum when com… (#389) 2022-05-05 17:48:17 +02:00
transaction_queue_multiple.cpp Replication refactor (part 5) (#1378) 2023-11-06 11:50:49 +00:00
transaction_queue.cpp Replication refactor (part 5) (#1378) 2023-11-06 11:50:49 +00:00
typed_value.cpp Add experimental/v1 of ON_DISK_TRANSACTIONAL storage (#850) 2023-06-29 11:44:55 +02:00
utils_algorithm.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
utils_async_timer.cpp Fix usages of constexpr (#367) 2022-03-31 13:52:43 +02:00
utils_exceptions.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
utils_file_locker.cpp Add data directory status and (un)lock query (#933) 2023-05-16 18:36:04 +02:00
utils_file.cpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
utils_histogram.cpp Expose system metrics over HTTP Endpoint (#940) 2023-05-18 05:10:57 +00:00
utils_java_string_formatter.cpp Add GraphQL transpilation compatibility (#1018) 2023-07-31 14:48:12 +02:00
utils_math.cpp Add index statistics for better query planning (#812) 2023-03-30 15:34:34 +02:00
utils_memory_tracker.cpp Fix usages of constexpr (#367) 2022-03-31 13:52:43 +02:00
utils_memory.cpp Add v5 toolchain (#608) 2023-10-16 19:01:39 +02:00
utils_on_scope_exit.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
utils_resource_lock.cpp Refactor interpreter to support multiple distributed clocks (Part 1) (#1281) 2023-10-05 16:58:39 +02:00
utils_rwlock.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
utils_scheduler.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
utils_settings.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
utils_signals.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
utils_string.cpp Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
utils_synchronized.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
utils_temporal.cpp Support creating date and localtime from localdatetime (#1381) 2023-11-03 10:54:01 +01:00
utils_thread_pool.cpp Fix usages of constexpr (#367) 2022-03-31 13:52:43 +02:00
utils_timestamp.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00