@@ -59,7 +59,6 @@ bool PikaCacheLoadThread::LoadKV(std::string& key, const std::shared_ptr<DB>& db
5959 int64_t ttl = -1 ;
6060 rocksdb::Status s = db->storage ()->GetWithTTL (key, &value, &ttl);
6161 if (!s.ok () || key.size () > g_pika_conf->max_key_size_in_cache ()) {
62- LOG (WARNING) << " load kv failed, key=" << key;
6362 return false ;
6463 }
6564 std::string CachePrefixKeyK = PCacheKeyPrefixK + key;
@@ -94,8 +93,6 @@ bool PikaCacheLoadThread::LoadList(std::string& key, const std::shared_ptr<DB>&
9493 // If the List type contains more than 2048 data members,
9594 // it will not be updated to RedisCache
9695 if (len <= 0 || g_pika_conf->value_item_max_size_in_cache () < len || key.size () > g_pika_conf->max_key_size_in_cache ()) {
97- LOG (WARNING) << " can not load key, because item size:" << len
98- << " beyond max item size:" << g_pika_conf->value_item_max_size_in_cache ();
9996 return false ;
10097 }
10198
@@ -117,8 +114,6 @@ bool PikaCacheLoadThread::LoadSet(std::string& key, const std::shared_ptr<DB>& d
117114 // If the Set type contains more than 2048 data members,
118115 // it will not be updated to RedisCache
119116 if (0 >= len || g_pika_conf->value_item_max_size_in_cache () < len || key.size () > g_pika_conf->max_key_size_in_cache ()) {
120- LOG (WARNING) << " can not load key, because item size:" << len
121- << " beyond max item size:" << g_pika_conf->value_item_max_size_in_cache ();
122117 return false ;
123118 }
124119
0 commit comments