| 504 | } |
| 505 | |
| 506 | static void _ModuleEventHandler_TryClearKeyspace(void) { |
| 507 | // return if we have half-baked graphs |
| 508 | if(INTERMEDIATE_GRAPHS) return; |
| 509 | |
| 510 | RedisModuleCtx *ctx = RedisModule_GetThreadSafeContext(NULL); |
| 511 | _ClearKeySpaceMetaKeys(ctx, true); |
| 512 | RedisModule_FreeThreadSafeContext(ctx); |
| 513 | } |
| 514 | |
| 515 | // increase the number of aux fields encountered during rdb loading |
| 516 | // there could be more than one on multiple shards scenario |
no test coverage detected