| 490 | } scanLaterZsetData; |
| 491 | |
| 492 | void scanLaterZsetCallback(void *privdata, const dictEntry *_de) { |
| 493 | dictEntry *de = (dictEntry*)_de; |
| 494 | scanLaterZsetData *data = privdata; |
| 495 | data->defragged += activeDefragZsetEntry(data->zs, de); |
| 496 | server.stat_active_defrag_scanned++; |
| 497 | } |
| 498 | |
| 499 | long scanLaterZset(robj *ob, unsigned long *cursor) { |
| 500 | if (ob->type != OBJ_ZSET || ob->encoding != OBJ_ENCODING_SKIPLIST) |
nothing calls this directly
no test coverage detected