Add new redis key for tracking agent connections
Issue: Add new redis keys for agent key (#706 - closed)
Description
In Add agent key struct to represent an agent (!2488 - merged) , we introduced AgentKey to uniquely track different types of agents. This MR updates the redis to add a new redis key for agent key connections while keeping the existing redis keys. This will help in a smoother migration. The existing redis keys will be removed in a followup as part of Remove old redis keys for agent id (#708 - closed) .
Steps to verify
- Start an agentk.
- Connect to Redis server by running
gdk redis-cliin the GDK directory. - Within the Redis console, run
keys *. - Search for
kas_by_agent_. You should see 2 entries -kas_by_agent_id3andkas_by_agent_key3.
Edited by Vishal Tak
