MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / _ModuleEventHandler_TryClearKeyspace

Function _ModuleEventHandler_TryClearKeyspace

src/module_event_handlers.c:506–513  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

504}
505
506static 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

Calls 1

_ClearKeySpaceMetaKeysFunction · 0.85

Tested by

no test coverage detected