redpanda icon indicating copy to clipboard operation
redpanda copied to clipboard

CORE-2161: cloud_storage/topic_manifest: force negative retention to mean infinite retention

Open andijcr opened this issue 10 months ago • 6 comments

this mirrors what's done for retention_bytes. the reasoning is that if somebody performs a manual edit of the topic manifest and writes "retention_duration" : -1, it's probably done to mirror the retention.ms semantic of meaning infinite retention

this a followup on https://github.com/redpanda-data/redpanda/pull/14355#discussion_r1428255190

Backports Required

  • [ ] none - not a bug fix
  • [ ] none - this is a backport
  • [ ] none - issue does not exist in previous branches
  • [ ] none - papercut/not impactful enough to backport
  • [x] v24.1.x
  • [x] v23.3.x

Release Notes

Improvements

  • allow interpreting 'retention_duration' = -1 in a topic_manifest.json file as infinite time retention

andijcr avatar Mar 28 '24 14:03 andijcr

ducktape was retried in https://buildkite.com/redpanda/redpanda/builds/46992#018e8a4c-9707-45e6-87f9-b7cfb07db1bd

ducktape was retried in https://buildkite.com/redpanda/redpanda/builds/46992#018e8cce-f70c-47cc-894f-88c7a3b6df64

ducktape was retried in https://buildkite.com/redpanda/redpanda/builds/47708#018f1209-7c76-409e-8f1b-8ae486b99abb

vbotbuildovich avatar Mar 29 '24 14:03 vbotbuildovich

/ci-repeat 1

andijcr avatar Apr 03 '24 15:04 andijcr

/ci-repeat 1

dotnwat avatar Apr 12 '24 01:04 dotnwat

@andijcr can you take a look at the ci failures?

dotnwat avatar Apr 12 '24 03:04 dotnwat

/ci-repeat 1

andijcr avatar Apr 26 '24 14:04 andijcr

failure was only in the recently-fixed https://redpandadata.atlassian.net/browse/CORE-2629 https://github.com/redpanda-data/redpanda/pull/18055

re-running ci since the previous run is quite old

andijcr avatar Apr 26 '24 14:04 andijcr

what's the status of this @andijcr? its approved, but it looks like something changed? (the re-request review buttons are active).

dotnwat avatar May 01 '24 23:05 dotnwat

what's the status of this @andijcr? its approved, but it looks like something changed? (the re-request review buttons are active).

I updated the cover letter to update the backport list; maybe that?

andijcr avatar May 03 '24 12:05 andijcr

/backport v24.1.x

vbotbuildovich avatar May 03 '24 12:05 vbotbuildovich

/backport v23.3.x

vbotbuildovich avatar May 03 '24 12:05 vbotbuildovich