Feature Request: include source tablet alias in FullStatus
RPC response
#17297
Labels
Component: VTorc
Vitess Orchestrator integration
Component: VTTablet
Type: Enhancement
Logical improvement (somewhere between a bug and feature)
Feature Description
This issue requests that
replicationdatapb.Status
includes the tablet alias of a tablet's currentprimaryreplication sourceToday it appears only the
source_host
andsource_port
of thePRIMARY
are included in this responseThe reason this is useful is VTOrc is having to use the
source_host
+source_port
in sqlite3 queries to find the record of a replica's source, and these fields are unindexed. I considered just-indexing those 2 x fields (I think these fields used to be indexed), but using the tablet alias of the primary would use the Primary-Key and avoid another index, which I prefer. Also this information logically makes sense to be in this output (IMHO)I propose this new field is
topodata.TabletAlias source_alias = 26;
orstring source_alias = 26;
.primary_alias
would work toocc @GuptaManan100 for feedback
Use Case(s)
VTOrc + any future use cases that benefit from an easy lookup of "what source alias is X tablet is replicating from?"
The text was updated successfully, but these errors were encountered: