tikv/tikv

Support domain for PD addresses

Open

#1291 aperta il 9 nov 2016

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Rust (2189 fork)batch import
difficulty/mediumhelp wantedtype/enhancement

Metriche repository

Star
 (15.922 star)
Metriche merge PR
 (Merge medio 28g 9h) (68 PR mergiate in 30 g)

Descrizione

For now, the PD client in TiKV only supports literal IP addresses. I think it is time to support domain too.

An address should be formed like Host:Port.

Host:

  • a domain string
  • an IPv4 address string
  • [ followed by an IPv6 address string, followed by ]

Port: 1 - 65535

More details about host can be found at URL Standard.

cc #1282 and #1274

By the way, should we support domain for TiKV listening address?

Guida contributor