Uploaded image for project: 'Percona XtraBackup'
  1. Percona XtraBackup
  2. PXB-1874

xbcloud doesn't update Date header when retrying

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 2.4.14, 8.0.6
    • Fix Version/s: 2.4.15, 8.0.7
    • Component/s: None
    • Labels:
      None

      Description

      When for some reason request needs to be retired, xbcloud doesn't update Date format (and all other date-related Headers), which as a result fails with the following error:

       

      < HTTP/1.1 403 Forbidden 
      < X-GUploader-UploadID: ...
      < Content-Type: application/xml; charset=UTF-8 
      < Content-Length: 218 
      < Date: Thu, 13 Jun 2019 14:43:27 GMT 
      < Server: UploadServer 
      < Alt-Svc: quic=":443"; ma=2592000; v="46,44,43,39" 
      < 
      * Connection #17 to host hostname.storage.googleapis.com left intact 
      
      190613 14:43:27 /tmp/xbcloud: Failed to upload object item.00000000000000013698. Error message: The difference between the request time and the server's time is too large. 
      190613 14:43:27 /tmp/xbcloud: error: failed to upload chunk: item.00000000000000013698, size: 10485820190613 15:07:57 /tmp/xbcloud: Upload failed. 

       

      The bug makes putting any larger backup to the remote site almost impossible.

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                sergei.glushchenko Sergei Glushchenko
                Reporter:
                iwo.panowicz Iwo Panowicz
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 1 hour, 27 minutes
                  1h 27m