dragonflydb / dragonflydb/dragonfly
Replication Issue: Unable to Configure a Replica2 as replica of Replica1
- Dominant language
- C++
- Stars
- 31.5k
- Forks
- 1.3k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 137
Description
I have three DragonflyDB servers: a master, replica1, and replica2. Replica1 is set as a replica of the master. However, when I try to make **replica2 as replica of replica1**, I get the following error:
ERR: Bad response to "REPLCONF listening-port 6379": "-ERR Replicating a replica is unsupported\r\n"
Is this expected behavior in DragonflyDB? In Redis, **I am able to configure replica2 as a replica of replica1** without any issues.
Could anyone please clarify this.?
Contributor guide
Research direction
No source file, test, or entry point is named. Start by reproducing the three-server setup and tracing the replica configuration path handling `REPLCONF listening-port`; done means establishing whether replica-of-replica replication is supported or documenting the confirmed behavior compared with Redis.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, redis
- Domain
- databases, distributed-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100