-
Notifications
You must be signed in to change notification settings - Fork 81
Add missing endpoints in replication @V2 #700
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds comprehensive replication endpoint support to the ArangoDB Go driver v2, implementing 23 missing replication-related API endpoints. The implementation includes batch management, inventory querying, dump operations, logger state management, applier configuration and control, WAL operations, and revision synchronization.
- Implements 23 missing replication endpoints covering batch operations, logger management, applier control, and WAL operations
- Adds comprehensive type definitions for all replication API request/response structures
- Includes extensive test coverage for all new endpoints with proper server role validation
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
File | Description |
---|---|
v2/tests/client_replication_test.go | Comprehensive test suite covering all new replication endpoints with server role validation |
v2/arangodb/client_replication_impl.go | Complete implementation of all 23 replication endpoints with proper error handling and role checking |
v2/arangodb/client_replication.go | Interface definitions and type structures for all replication operations |
v2/arangodb/client_impl.go | Integration of replication client into main client structure |
v2/arangodb/client.go | Addition of ClientReplication interface to main Client interface |
v2/CHANGELOG.md | Documentation of the new replication endpoints feature |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
This PR includes the following Replication - related endpoints: