cloudnative-pg / cloudnative-pg/plugin-barman-cloud

WAL makes memory full due to SAS token expiration

Open
#941 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
192
Forks
75
Avg merge
1d 16h
Merged PRs (30d)
18

Description

I am using CNPG 1.26 with Barman plugin 0.11.0 . I am taking backup on azure blob storage. I am using SAS token to connect with azure blob storage . But when SAS token expire and I forgot to update it . after that it looks like it stores wals inside pods memory which increases memory consumption which results it into pod not working. But After I update sas token it should release wal and make memory free. but it did not happen. It deletes the wal only after increasing the db cluster memory . Is there any other way to resolve this issue or release this memory.

@dosu, please help

Contributor guide

Open the contributing guide

Research direction

No files or tests are named in the issue. Start by reproducing an expired Azure SAS token with CNPG 1.26 and Barman plugin 0.11.0, then inspect WAL retention and recovery after the token is updated. Done means queued WALs are released after credential recovery without requiring a memory increase.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, go, postgresql
Domain
cloud, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.