We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d5f82f commit f50dba7Copy full SHA for f50dba7
syncd/RedisClient.cpp
@@ -10,8 +10,11 @@
10
11
using namespace syncd;
12
13
+// vid and rid maps contains objects from all switches
14
#define VIDTORID "VIDTORID"
15
#define RIDTOVID "RIDTOVID"
16
+
17
+// those here are per switch
18
#define LANES "LANES"
19
#define HIDDEN "HIDDEN"
20
#define COLDVIDS "COLDVIDS"
@@ -664,7 +667,9 @@ void RedisClient::removeColdVid(
664
667
665
668
auto strVid = sai_serialize_object_id(vid);
666
669
- m_dbAsic->hdel(COLDVIDS, strVid);
670
+ auto key = getRedisColdVidsKey(vid);
671
672
+ m_dbAsic->hdel(key, strVid);
673
}
674
675
std::unordered_map<std::string, std::string> RedisClient::getAttributesFromAsicKey(
0 commit comments