Method
MigrateSlot
(ctx context.Context, slot SlotRange, targetNodeID string)
Source from the content-addressed store, hash-verified
| 262 | } |
| 263 | |
| 264 | func (n *ClusterNode) MigrateSlot(ctx context.Context, slot SlotRange, targetNodeID string) error { |
| 265 | return n.GetClient().Do(ctx, "CLUSTERX", "MIGRATE", slot.String(), targetNodeID).Err() |
| 266 | } |
| 267 | |
| 268 | func (n *ClusterNode) MarshalJSON() ([]byte, error) { |
| 269 | return json.Marshal(map[string]interface{}{ |
Callers
nothing calls this directly
Tested by
no test coverage detected