static */
| 2917 | } |
| 2918 | |
| 2919 | /* static */ void redisDbPersistentData::serializeAndStoreChange(StorageCache *storage, redisDbPersistentData *db, const char *key, bool fUpdate) |
| 2920 | { |
| 2921 | auto itr = db->find_cached_threadsafe(key); |
| 2922 | if (itr == nullptr) |
| 2923 | return; |
| 2924 | robj *o = itr.val(); |
| 2925 | sds temp = serializeStoredObjectAndExpire(o); |
| 2926 | storage->insert((sds)key, temp, sdslen(temp), fUpdate); |
| 2927 | sdsfree(temp); |
| 2928 | } |
| 2929 | |
| 2930 | bool redisDbPersistentData::processChanges(bool fSnapshot) |
| 2931 | { |
nothing calls this directly
no test coverage detected