Closed landscapepainter closed 7 months ago
This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 10 days.
This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 10 days.
This issue was closed because it has been stalled for 10 days with no activity.
Closed by #2063.
Currently, when storages from different cloud providers, say
gcp
andcloudflare r2
, are created with identical storage names, some information instate.db
are overwritten due to the following script ran inglobal_user_state.py/add_or_update_storage()
.And this results into misleading information from what
sky storage ls
displays and perhaps other bugs in the future. Say there's a sky managed storage calledtrain-data
fromgcs
, if we create another sky managed storage calledtrain-data
fromr2
, the data related to thetrain-data
fromgcs
instorage
table fromstate.db
will be replaced. And this is due to havingstorage_name
set as thePRIMARY KEY
.Consider the following scenario:
Need to figure out a way to separate storages from different clouds with identical
storage_name
instate.db
to fix this issue.