tursodatabase/turso-cli

Inconsistent locations in `db show` for database in a group

Closed this issue · 1 comments

haaawk commented

Reproducer:

  1. Create a group with some locations:
turso group create grouptest --location waw
  1. Add more locations to this group:
turso group locations add grouptest gru
  1. Create a database in that group:
turso db create gt --group grouptest
  1. Add another location to the group:
turso group locations add grouptest lhr
  1. Check db show for the database in the group:
turso db show gt
Name:           gt
URL:            libsql://gt-haaawk.turso.io
ID:             b1c4062b-5399-11ee-acc9-6a3ef16da051
Locations:      gru, waw
Size:           0 B

Database Instances:
NAME     TYPE        LOCATION 
waw      primary     waw          
gru      replica     gru          
lhr      replica     lhr

Database Instances: has a correct location list but Locations: section is missing the new location

haaawk commented

disapeared on main so closing