Conversation
armru
force-pushed
the
dev/135
branch
2 times, most recently
from
September 1, 2026 13:54
87a6d4a to
af2a787
Compare
The work queue can now live either on its own volume or inside the tier1 data volume, so the server has to relocate it when the Server resource changes which one it is. QUEUE_MIGRATION_SOURCE names the previous location: its content is copied into QUEUE_DIRECTORY before the queue is opened, then removed. The copy is staged next to the destination and fsynced before the rename, so an interrupted migration never leaves a partial queue behind. A non-empty destination always wins, as it holds the WAL files still pending transfer to tier2. Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
The queue only needs durable storage, not a volume of its own, so the `queue` section is no longer required alongside tier1: when omitted, the queue lives in the `queue` directory of the tier1 data volume. A dedicated volume is still recommended in production, so that a full data volume cannot also stall the queue that drives retention. Adding or removing the section moves the queue during the resulting rolling restart. On removal the StatefulSet stops templating the queue PVC, which is then kept mounted by claim name until it is deleted by hand. Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A Server had to declare a queue PVC whenever tier1 was configured. The queue
only needs durable storage, not a volume of its own, so the
queuesection isnow optional: when omitted, the queue lives in the
queuedirectory of thetier1 data volume. A dedicated volume is still recommended in production, so
that a full data volume cannot also stall the queue that drives retention.
Adding or removing the section moves the queue during the resulting rolling
restart: the server copies it from the previous location, named by
QUEUE_MIGRATION_SOURCE, before opening it. On removal the StatefulSet stops
templating the queue PVC, which is then kept mounted by claim name until it is
deleted by hand.
Closes #135