Harshavardhana 9626a981bc
fix: Preserve old data appropriately (#9873)
This PR fixes all the below scenarios
and handles them correctly.

- existing data/bucket is replaced with
  new content, no versioning enabled old
  structure vanishes.

- existing data/bucket - enable versioning
  before uploading any data, once versioning
  enabled upload new content, old content
  is preserved.

- suspend versioning on the bucket again, now
  upload content again the old content is purged
  since that is the default "null" version.

Additionally sync data after xl.json -> xl.meta
rename(), to avoid any surprises if there is a
crash during this rename operation.
2020-06-19 10:58:17 -07:00
..
2020-06-12 20:04:01 -07:00
2020-06-12 20:04:01 -07:00
2020-06-12 20:04:01 -07:00
2020-06-12 20:04:01 -07:00
2020-06-12 20:04:01 -07:00
2020-06-12 20:04:01 -07:00
2020-06-12 20:04:01 -07:00
2020-06-12 20:04:01 -07:00
2020-01-31 08:29:22 +05:30
2020-06-12 20:04:01 -07:00
2020-06-12 20:04:01 -07:00
2020-06-12 20:04:01 -07:00