When creating new bucket, check situations when it already exists #263

Closed
opened 2023-07-29 01:10:34 +03:00 by inex · 3 comments

Strange things may happen, which lead to server being unable to init repo.

Strange things may happen, which lead to server being unable to init repo.
def added the
Bug
Priority
High
labels 2023-07-29 01:13:22 +03:00
Collaborator

Could you elaborate how can I work around with it from the client side? What does it have to do with anything

Could you elaborate how can I work around with it from the client side? What does it have to do with anything
Poster
Owner

We generate the bucket name from the domain and server ID. There is a chance, that bucket with this name already exists. We do not handle this?

Also if it already exists, there may or may not be the actual backup repo we can work with.

We generate the bucket name from the domain and server ID. There is a chance, that bucket with this name already exists. We do not handle this? Also if it already exists, there may or **may not** be the actual backup repo we can work with.
Collaborator

Domain + server ID + DateTime.now().toString() ?

Domain + server ID + DateTime.now().toString() ?
NaiJi self-assigned this 2023-12-02 21:58:04 +02:00
NaiJi closed this issue 2023-12-03 20:03:18 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: SelfPrivacy/selfprivacy.org.app#263
There is no content yet.