Skip to content

Conversation

@satishk1536
Copy link

@satishk1536 satishk1536 commented Oct 25, 2023

Problem

When executing the command to create a bucket, there is no direct error code or indication provided by the command that allows the code to determine whether the bucket creation was successful or not. This lack of error code or status information makes it challenging to reliably identify whether the bucket was created as intended.

Solution

The solution is to check the existence of the newly created bucket in the list of buckets after the creation command is executed. If the bucket is not found, a retry is attempted, and if the retry also fails, an error is logged.

Testing Done

Unit test is Done.

@satishk1536 satishk1536 force-pushed the dlpx/pr/satishk1536/c7ade8b0-989e-4b64-aba0-96e1fcd79046 branch from 083f5e8 to 873c457 Compare October 25, 2023 08:16
@satishk1536 satishk1536 marked this pull request as ready for review October 25, 2023 08:36
@satishk1536 satishk1536 force-pushed the dlpx/pr/satishk1536/c7ade8b0-989e-4b64-aba0-96e1fcd79046 branch from 873c457 to 4a2048d Compare October 25, 2023 10:40
@satishk1536 satishk1536 force-pushed the dlpx/pr/satishk1536/c7ade8b0-989e-4b64-aba0-96e1fcd79046 branch from 4a2048d to d38450f Compare October 26, 2023 05:21
@satishk1536 satishk1536 merged commit f29b0fd into develop Oct 26, 2023
@satishk1536 satishk1536 deleted the dlpx/pr/satishk1536/c7ade8b0-989e-4b64-aba0-96e1fcd79046 branch October 26, 2023 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

5 participants