Release the radix tree mapping Redis Cluster keys to slots. If 'async' * is true, we release it asynchronously. */
| 2505 | /* Release the radix tree mapping Redis Cluster keys to slots. If 'async' |
| 2506 | * is true, we release it asynchronously. */ |
| 2507 | void freeSlotsToKeysMap(rax *rt, int async) { |
| 2508 | if (async) { |
| 2509 | freeSlotsToKeysMapAsync(rt); |
| 2510 | } else { |
| 2511 | raxFree(rt); |
| 2512 | } |
| 2513 | } |
| 2514 | |
| 2515 | /* Empty the slots-keys map of Redis CLuster by creating a new empty one and |
| 2516 | * freeing the old one. */ |
no test coverage detected