- 05 3月, 2020 2 次提交
-
-
由 Guy Benoish 提交于
-
由 Oran Agra 提交于
-
- 28 2月, 2020 4 次提交
-
-
由 meir@redislabs.com 提交于
-
由 Ariel 提交于
-
由 Guy Benoish 提交于
-
由 Oran Agra 提交于
-
- 12 2月, 2020 4 次提交
-
-
由 Guy Benoish 提交于
Because "keymiss" is "special" compared to the rest of the notifications (Trying not to break existing apps using the 'A' format for notifications) Also updated redis.conf and module.c docs
-
由 Oran Agra 提交于
-
由 Oran Agra 提交于
currently there's no bug since the flags these functions handle are always lower than 32bit, but still better fix the type to prevent future bugs.
-
由 Oran Agra 提交于
using panic rather than exit means you get s stack trace of the code path that experianced the error, and possibly other info.
-
- 04 2月, 2020 4 次提交
-
-
由 Oran Agra 提交于
-
由 Guy Benoish 提交于
This bug affected RM_StringToLongDouble and HINCRBYFLOAT. I added tests for both cases. Main changes: 1. Fixed string2ld to fail if string contains \0 in the middle 2. Use string2ld in getLongDoubleFromObject - No point of having duplicated code here The two changes above broke RM_SaveLongDouble/RM_LoadLongDouble because the long double string was saved with length+1 (An innocent mistake, but it's actually a bug - The length passed to RM_SaveLongDouble should not include the last \0).
-
由 antirez 提交于
-
由 Guy Benoish 提交于
If a blocked module client times-out (or disconnects, unblocked by CLIENT command, etc.) we need to call moduleUnblockClient in order to free memory allocated by the module sub-system and blocked-client private data Other changes: Made blockedonkeys.tcl tests a bit more aggressive in order to smoke-out potential memory leaks
-
- 10 1月, 2020 1 次提交
-
-
由 Yossi Gottlieb 提交于
-
- 29 12月, 2019 1 次提交
-
-
由 antirez 提交于
-
- 19 12月, 2019 1 次提交
-
-
由 antirez 提交于
-
- 18 12月, 2019 2 次提交
-
-
由 antirez 提交于
-
由 zhaozhao.zz 提交于
-
- 17 12月, 2019 4 次提交
-
-
由 Madelyn Olson 提交于
-
由 Madelyn Olson 提交于
-
由 Madelyn Olson 提交于
-
由 Madelyn Olson 提交于
-
- 14 12月, 2019 1 次提交
-
-
由 antirez 提交于
-
- 13 12月, 2019 1 次提交
-
-
由 Yossi Gottlieb 提交于
With the previous API, a NULL return value was ambiguous and could represent either an old value of NULL or an error condition. The new API returns a status code and allows the old value to be returned by-reference. This commit also includes test coverage based on tests/modules/datatype.c which did not exist at the time of the original commit.
-
- 12 12月, 2019 2 次提交
- 11 12月, 2019 1 次提交
-
-
由 Oran Agra 提交于
-
- 09 12月, 2019 1 次提交
-
-
由 antirez 提交于
-
- 05 12月, 2019 1 次提交
-
-
由 antirez 提交于
-
- 03 12月, 2019 1 次提交
-
-
由 antirez 提交于
-
- 22 11月, 2019 2 次提交
-
-
由 zhaozhao.zz 提交于
in case of nested MULTI/EXEC
-
由 zhaozhao.zz 提交于
Random command like SPOP with count is replicated as some SREM operations, and store them in also_propagate array to propagate after the call, but this would break atomicity. To keep the command's atomicity, wrap also_propagate array with MULTI/EXEC.
-
- 21 11月, 2019 1 次提交
-
-
由 antirez 提交于
-
- 19 11月, 2019 1 次提交
-
-
由 Yossi Gottlieb 提交于
RM_Call() will now use EBADF and ENONET in addition to EINVAL in order to provide more information about errors (i.e. when return value is NULL).
-
- 14 11月, 2019 3 次提交
-
-
由 Oran Agra 提交于
trimming talk about RESP protocol from API docs (should be independent to that anyway)
-
由 Oran Agra 提交于
-
由 Yossi Gottlieb 提交于
This is a light-weight replace function, useful for use cases such as realloc()ing an existing value, etc. Using RM_ModuleTypeSetValue() in such cases is wasteful and complex as it attempts to delete the old value, call its destructor, etc.
-
- 11 11月, 2019 2 次提交
-
-
由 Oran Agra 提交于
- Adding RM_ScanKey - Adding tests for RM_ScanKey - Refactoring RM_Scan API Changes in RM_Scan - cleanup in docs and coding convention - Moving out of experimantal Api - Adding ctx to scan callback - Dont use cursor of -1 as an indication of done (can be a valid cursor) - Set errno when returning 0 for various reasons - Rename Cursor to ScanCursor - Test filters key that are not strings, and opens a key if NULL
-
由 meir@redislabs.com 提交于
The implementation expose the following new functions: 1. RedisModule_CursorCreate - allow to create a new cursor object for keys scanning 2. RedisModule_CursorRestart - restart an existing cursor to restart the scan 3. RedisModule_CursorDestroy - destroy an existing cursor 4. RedisModule_Scan - scan keys The RedisModule_Scan function gets a cursor object, a callback and void* (used as user private data). The callback will be called for each key in the database proving the key name and the value as RedisModuleKey.
-