cross-region replication queries namespaces twice
- Dominant language
- Go
- Stars
- 17k
- Forks
- 2.1k
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 105
Description
While working on node pool replication, I noticed what looks like an inefficient query of namespaces where we `List` the namespaces in the remote region and then `Get` each namespace. But for namespaces, these RPCs return the same objects. This code may have been copied from ACL replication, but we should double-check if it can be removed.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the namespace handling in cross-region replication, then compare it with the ACL replication code mentioned in the issue. Verify whether the List and Get RPCs return the same namespace objects. Done means removing the redundant lookup if confirmed and adding or updating coverage for namespace replication behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- distributed-systems
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100