This commit is contained in:
Malavan Sotheeswaran committed 2023-10-04 16:57:00 -07:00
1 parent 2fd6410aa5
commit 8a1d648f15
1 file changed
+1 -1
+1 -1
View File
@@ -214,7 +214,7 @@ bool RocksDBStorageProvider::enumerate_hashslot(callback fn, unsigned int hashsl
bool fContinue = fn(it->key().data()+sizeof(unsigned int), it->key().size()-sizeof(unsigned int), it->value().data(), it->value().size());
if (!fContinue)
break;
serverLog(LL_WARNING, "%d %d %d", hashslot, *it->key().data(), *prefix.c_str());
serverLog(LL_WARNING, "%d %d %d", hashslot, (unsigned int)*it->key().data(), (unsigned int)*prefix.c_str());
serverLog(LL_WARNING, "Found key %d of %d with len %d: %.*s", count, g_pserver->cluster->slots_keys_count[hashslot], (int)it->key().size()-sizeof(unsigned int), (int)it->key().size()-sizeof(unsigned int), it->key().data()+sizeof(unsigned int));
}
bool full_iter = !it->Valid() || (strncmp(it->key().data(),prefix.c_str(),2) != 0);