Commit 26dcf102 authored by mkaruza's avatar mkaruza

Extend mariabackup archive timestamp in SST script

During parallel execution mariabackup script can fail when trying to create archive because of non unique name.  Extending archive timestamp with nanosecond.
parent 0a1c3477
...@@ -753,8 +753,8 @@ else ...@@ -753,8 +753,8 @@ else
if [[ "$sstlogarchive" -eq 1 ]] if [[ "$sstlogarchive" -eq 1 ]]
then then
ARCHIVETIMESTAMP=$(date "+%Y.%m.%d-%H.%M.%S") ARCHIVETIMESTAMP=$(date "+%Y.%m.%d-%H.%M.%S.%N")
newfile="" newfile=""
if [[ ! -z "$sstlogarchivedir" ]] if [[ ! -z "$sstlogarchivedir" ]]
then then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment