Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
It seems the management APIs (at least) for clustering are not IPv6 aware. E.g.
typedef int TSNodeHandle_t; typedef void (*TSClusterRPCFunction) (TSNodeHandle_t *node, TSClusterRPCMsg_t *msg, int msg_data_len); typedef void (*TSClusterStatusFunction) (TSNodeHandle_t *node, TSNodeStatus_t s); * Get the struct in_addr associated with the TSNodeHandle_t. * tsapi int TSNodeHandleToIPAddr(TSNodeHandle_t *h, struct in_addr *in); * Get the TSNodeHandle_t for the local node. * tsapi void TSGetMyNodeHandle(TSNodeHandle_t *h); tsapi int TSSendClusterRPC(TSNodeHandle_t *nh, TSClusterRPCMsg_t *msg);
As far as I can tell, TSNodeHandle_t is also how we represent the IP of the cluster node. And since it's an int, it can only represent IPv4 addresses.