Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion syncd/RedisClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@

using namespace syncd;

// vid and rid maps contains objects from all switches
#define VIDTORID "VIDTORID"
#define RIDTOVID "RIDTOVID"

// those here are per switch
#define LANES "LANES"
#define HIDDEN "HIDDEN"
#define COLDVIDS "COLDVIDS"
Expand Down Expand Up @@ -664,7 +667,9 @@ void RedisClient::removeColdVid(

auto strVid = sai_serialize_object_id(vid);

m_dbAsic->hdel(COLDVIDS, strVid);
auto key = getRedisColdVidsKey(vid);

m_dbAsic->hdel(key, strVid);
}

std::unordered_map<std::string, std::string> RedisClient::getAttributesFromAsicKey(
Expand Down