GuyAv46
340615255b
Add API RedisModule_ClusterKeySlotC ( #14442 )
...
Enhancing #13069 , by adding a more direct API for getting the slot of a
string
Introduces new module API:
```c
/* Like `RM_ClusterKeySlot`, but gets a char pointer and a length.
* Returns the cluster slot of a key, similar to the `CLUSTER KEYSLOT` command.
* This function works even if cluster mode is not enabled. */
unsigned int RM_ClusterKeySlotC(const char *keystr, size_t keylen)
```
2025-10-22 18:28:30 +03:00
..
2025-05-23 10:10:11 +08:00
2025-10-22 15:56:20 +03:00
2024-04-04 13:49:51 +03:00
2025-05-01 14:04:22 +01:00
2025-05-23 10:10:11 +08:00
2024-04-04 13:49:51 +03:00
2023-06-22 23:15:16 +03:00
2025-07-01 21:00:42 +08:00
2025-05-23 10:10:11 +08:00
2025-07-03 13:46:33 +03:00
2024-11-11 09:34:18 +03:00
2022-01-18 15:55:20 +02:00
2024-11-21 14:14:14 +08:00
2025-07-22 20:44:12 +08:00
2022-04-05 08:21:41 +03:00
2022-05-12 20:10:38 +03:00
2022-02-22 11:00:03 +02:00
2022-02-08 10:01:35 +02:00
2024-12-05 11:14:52 +02:00
2025-05-01 14:04:22 +01:00
2023-08-16 08:36:40 +03:00
2025-05-23 10:10:11 +08:00
2025-07-28 10:17:48 +03:00
2022-09-28 14:15:07 +03:00
2022-10-22 20:36:50 +03:00
2025-10-22 15:56:20 +03:00
2022-04-17 08:31:57 +03:00
2025-10-22 18:28:30 +03:00
2023-03-15 15:18:42 -07:00
2025-02-06 13:16:33 +02:00
2022-03-30 15:47:06 +03:00
2025-05-01 14:04:22 +01:00
2025-05-01 14:04:22 +01:00
2023-06-20 20:41:41 +03:00
2023-04-09 12:07:32 +03:00
2023-04-12 10:11:29 +03:00
2021-10-25 12:00:43 +03:00
2021-11-28 11:26:28 +02:00
2022-11-03 13:19:49 +02:00
2021-11-28 11:26:28 +02:00
2022-10-18 19:45:46 +03:00
2021-12-30 12:17:22 +02:00
2025-05-23 10:10:11 +08:00
2025-08-20 07:32:24 +08:00