Counterintuitive YYYY-DD-MM dates in the S3 backup folder names

Description

When backing up to S3 storage, the operator creates folder names such as

prod-2020-11-06-00:00:04-full

This example was actually created on 11th June, so the date format is YYYY-DD-MM which is very unconventional!

 

I believe this is the relevant line: 

https://github.com/percona/percona-xtradb-cluster-operator/blob/c6c4b7a127ed83a905c5c180b42bc7532694a940/pkg/controller/pxcbackup/controller.go#L177

Environment

None

Smart Checklist

Activity

Show:

Jira Bot October 9, 2020 at 6:56 PM

To:
CC:

Hi, I'm jira-bot, Percona's Jira automation tool. I've detected that someone from
Percona has made an edit to the Summary field of an issue that you reported.

I'm not sentient (yet) so I'm not sure whether the person fixed a typo, changed
a few words, or completely rewrote the text. In any case, it is Percona Engineering's
intention to make the Summary and Description of an issue as accurate as possible
so that we're fixing the actual problem you're encountering, and to avoid
misunderstandings about symptoms and causes.

If the current Summary does not accurately reflect the problem you are reporting,
or if you feel the change was otherwise inappropriate in some way, please add a
new comment explaining things and we'll address it as soon as we can.

This message will be added only once per issue, regardless of how many times
the Summary is edited.

message-code:summary-edited

Tomislav Plavcic July 23, 2020 at 3:13 PM

Your PR was merged and will be part of 1.6.0 release. Thank you for the contribution!

Mykola Marzhan July 8, 2020 at 11:17 AM

Hi ,

thank you! It is a typo.

Could you please create a PR?

please escalate the issue via regular channels if you have a contract with Percona.

Done

Details

Assignee

Reporter

Time tracking

20m logged

Fix versions

Affects versions

Priority

Smart Checklist

Created July 8, 2020 at 10:03 AM
Updated March 5, 2024 at 6:12 PM
Resolved July 23, 2020 at 3:13 PM