Release the radix tree mapping Redis Cluster keys to slots. If 'async' * is true, we release it asynchronously. */
| 1943 | /* Release the radix tree mapping Redis Cluster keys to slots. If 'async' |
| 1944 | * is true, we release it asynchronously. */ |
| 1945 | void freeSlotsToKeysMap(rax *rt, int async) { |
| 1946 | if (async) { |
| 1947 | freeSlotsToKeysMapAsync(rt); |
| 1948 | } else { |
| 1949 | raxFree(rt); |
| 1950 | } |
| 1951 | } |
| 1952 | |
| 1953 | /* Empty the slots-keys map of Redis CLuster by creating a new empty one and |
| 1954 | * freeing the old one. */ |
no test coverage detected