| 513 | } scanLaterZsetData; |
| 514 | |
| 515 | void scanLaterZsetCallback(void *privdata, const dictEntry *_de) { |
| 516 | dictEntry *de = (dictEntry*)_de; |
| 517 | scanLaterZsetData *data = (scanLaterZsetData*)privdata; |
| 518 | data->defragged += activeDefragZsetEntry(data->zs, de); |
| 519 | g_pserver->stat_active_defrag_scanned++; |
| 520 | } |
| 521 | |
| 522 | long scanLaterZset(robj *ob, unsigned long *cursor) { |
| 523 | if (ob->type != OBJ_ZSET || ob->encoding != OBJ_ENCODING_SKIPLIST) |
nothing calls this directly
no test coverage detected