create the meta keys for each graph in the keyspace used on RDB start event
| 213 | // create the meta keys for each graph in the keyspace |
| 214 | // used on RDB start event |
| 215 | static void _CreateKeySpaceMetaKeys |
| 216 | ( |
| 217 | RedisModuleCtx *ctx |
| 218 | ) { |
| 219 | KeySpaceGraphIterator it; |
| 220 | GraphContext *gc = NULL; |
| 221 | Globals_ScanGraphs(&it); |
| 222 | |
| 223 | while((gc = GraphIterator_Next(&it)) != NULL) { |
| 224 | _CreateGraphMetaKeys(ctx, gc); |
| 225 | GraphContext_DecreaseRefCount(gc); |
| 226 | } |
| 227 | } |
| 228 | |
| 229 | // delete the meta keys for each graph in the keyspace |
| 230 | // used on RDB finish (save/load/fail) event |
no test coverage detected