feat(libxce-failover): endpoint rotator — hint-first target selection + master rotation; keep api_ctx_t decls private (task 2.2)

This commit is contained in:
Rongsong Shen 2026-06-17 02:56:48 +00:00
parent fa2ac05036
commit c7e11a4e9e
5 changed files with 300 additions and 5 deletions

View file

@ -46,4 +46,10 @@ typedef enum {
*/
xce_fo_action_t xce_failover_classify(int status, bool is_write, int attempt);
/*
* EndpointRotator (xce_failover_next_target / xce_failover_rotate) operates on
* the private api_ctx_t and is therefore declared in the internal header
* src/lib/client_internal.h, not in this public surface.
*/
#endif /* XCE_CLIENT_FAILOVER_H */