Files
71dcad0e44 Add api to Eager retrieve the unknown namespace from remote cluster (#4769)
<!-- Describe what has changed in this PR -->
**What changed?**
Add new API at AdminClient to retrieve the namespace from remote
cluster.

<!-- Tell your future self why have you made these changes -->
**Why?**
To allow the passive cluster eagerly retrieve the namespace from the
active cluster for the following reason:
1. Namespace Replication may failed and never reached to passive
cluster, and passive cluster received the replication task.

<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->
**How did you test it?**
Unit test.

<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->
**Potential risks**
N/A

<!-- Is this PR a hotfix candidate or require that a notification be
sent to the broader community? (Yes/No) -->
**Is hotfix candidate?**
No.

---------

Co-authored-by: Will Duan <[email protected]>
2023-08-14 13:37:36 -07:00
..