feat(interactive): Implement service register and primary election#4589
feat(interactive): Implement service register and primary election#4589zhanglei1949 wants to merge 8 commits intoalibaba:mainfrom
Conversation
Committed-by: xiaolei.zl from Dev container
|
Please check the preview of the documentation changes at |
There was a problem hiding this comment.
Pull Request Overview
This PR introduces a new integration test for the service registry and primary election features by adding a dedicated CI job in the GitHub Actions workflow.
- Adds a new "test-service-registry" job to validate the etcd-based service registry and primary election via a series of scripted steps.
- Configures the environment, downloads and launches etcd, executes the interactive_server, and validates key outputs.
Files not reviewed (15)
- .gitmodules: Language not supported
- flex/CMakeLists.txt: Language not supported
- flex/cmake/BuildEtcdCpp.cmake: Language not supported
- flex/engines/http_server/CMakeLists.txt: Language not supported
- flex/engines/http_server/actor/admin_actor.act.cc: Language not supported
- flex/engines/http_server/graph_db_service.cc: Language not supported
- flex/engines/http_server/graph_db_service.h: Language not supported
- flex/engines/http_server/service_register.cc: Language not supported
- flex/engines/http_server/service_register.h: Language not supported
- flex/storages/rt_mutable_graph/schema.cc: Language not supported
- flex/storages/rt_mutable_graph/schema.h: Language not supported
- flex/third_party/cpprestsdk: Language not supported
- flex/third_party/etcd-cpp-apiv3: Language not supported
- flex/utils/service_utils.cc: Language not supported
- flex/utils/service_utils.h: Language not supported
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4589 +/- ##
=======================================
Coverage 44.76% 44.76%
=======================================
Files 12 12
Lines 592 592
=======================================
Hits 265 265
Misses 327 327 Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
Committed-by: xiaolei.zl from Dev container
|
/cc @yecol @sighingnow, this issus/pr has had no activity for a long time, please help to review the status and assign people to work on it. |
etcd-cpp-api-v3andcpprestsdkas submodule dependencies.ServiceRegisterwhich registers the server itself to the etcd-based service registry.promote()function, which should be called after adding the primary key-value pair succeeds.