public inbox for [email protected]  
help / color / mirror / Atom feed
Patroni basebackup server compression not working in 4.1.1
4+ messages / 3 participants
[nested] [flat]

* Patroni basebackup server compression not working in 4.1.1
@ 2026-04-22 07:30 Radu Radutiu <[email protected]>
  2026-04-22 14:47 ` Re: Patroni basebackup server compression not working in 4.1.1 Adrian Klaver <[email protected]>
  0 siblings, 1 reply; 4+ messages in thread

From: Radu Radutiu @ 2026-04-22 07:30 UTC (permalink / raw)
  To: [email protected]

Hi,

I am not able to enable basebackup server compression feature, which is new
in patroni 4.1.1.
OS: OEL 9.7
Patroni version: patroni-4.1.1-1PGDG.rhel9.7.noarch
Postgres: postgresql18-server-18.3-1PGDG.rhel9.7.x86_64
The following setting has been added to DCS under postgresql:
basebackup:
  - compress: server-zstd
I still get the following error in the patroni.log:
2026-04-22 02:51:44,693 ERROR: compress option for basebackup is not allowed
2026-04-22 02:51:44,693 ERROR: Error when parsing basebackup key-value
option server-zstd: only one key-value is allowed and value should be a
string

Has anyone been able to confirm that the feature is working?

Best regards,
Radu


^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Patroni basebackup server compression not working in 4.1.1
  2026-04-22 07:30 Patroni basebackup server compression not working in 4.1.1 Radu Radutiu <[email protected]>
@ 2026-04-22 14:47 ` Adrian Klaver <[email protected]>
  2026-04-22 15:15   ` Re: Patroni basebackup server compression not working in 4.1.1 Alexander Kukushkin <[email protected]>
  0 siblings, 1 reply; 4+ messages in thread

From: Adrian Klaver @ 2026-04-22 14:47 UTC (permalink / raw)
  To: Radu Radutiu <[email protected]>; [email protected]

On 4/22/26 12:30 AM, Radu Radutiu wrote:
> Hi,
> 
> I am not able to enable basebackup server compression feature, which is 
> new in patroni 4.1.1.
> OS: OEL 9.7
> Patroni version: patroni-4.1.1-1PGDG.rhel9.7.noarch
> Postgres: postgresql18-server-18.3-1PGDG.rhel9.7.x86_64
> The following setting has been added to DCS under postgresql:
> basebackup:
>    - compress: server-zstd
> I still get the following error in the patroni.log:
> 2026-04-22 02:51:44,693 ERROR: compress option for basebackup is not allowed
> 2026-04-22 02:51:44,693 ERROR: Error when parsing basebackup key-value 
> option server-zstd: only one key-value is allowed and value should be a 
> string

Have you tried with?:

- compress: 'server-zstd'

Per:

"ERROR: Error when parsing basebackup key-value option server-zstd: only 
one key-value is allowed and value should be a string"

> 
> Has anyone been able to confirm that the feature is working?
> 
> Best regards,
> Radu


-- 
Adrian Klaver
[email protected]






^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Patroni basebackup server compression not working in 4.1.1
  2026-04-22 07:30 Patroni basebackup server compression not working in 4.1.1 Radu Radutiu <[email protected]>
  2026-04-22 14:47 ` Re: Patroni basebackup server compression not working in 4.1.1 Adrian Klaver <[email protected]>
@ 2026-04-22 15:15   ` Alexander Kukushkin <[email protected]>
  2026-04-23 11:39     ` Re: Patroni basebackup server compression not working in 4.1.1 Radu Radutiu <[email protected]>
  0 siblings, 1 reply; 4+ messages in thread

From: Alexander Kukushkin @ 2026-04-22 15:15 UTC (permalink / raw)
  To: Adrian Klaver <[email protected]>; +Cc: Radu Radutiu <[email protected]>; [email protected]

It looks like a bug, it fails to correctly resolve the Postgres version
when $PGDATA is empty :(

On Wed, 22 Apr 2026 at 16:47, Adrian Klaver <[email protected]>
wrote:

> On 4/22/26 12:30 AM, Radu Radutiu wrote:
> > Hi,
> >
> > I am not able to enable basebackup server compression feature, which is
> > new in patroni 4.1.1.
> > OS: OEL 9.7
> > Patroni version: patroni-4.1.1-1PGDG.rhel9.7.noarch
> > Postgres: postgresql18-server-18.3-1PGDG.rhel9.7.x86_64
> > The following setting has been added to DCS under postgresql:
> > basebackup:
> >    - compress: server-zstd
> > I still get the following error in the patroni.log:
> > 2026-04-22 02:51:44,693 ERROR: compress option for basebackup is not
> allowed
> > 2026-04-22 02:51:44,693 ERROR: Error when parsing basebackup key-value
> > option server-zstd: only one key-value is allowed and value should be a
> > string
>
> Have you tried with?:
>
> - compress: 'server-zstd'
>
> Per:
>
> "ERROR: Error when parsing basebackup key-value option server-zstd: only
> one key-value is allowed and value should be a string"
>
> >
> > Has anyone been able to confirm that the feature is working?
> >
> > Best regards,
> > Radu
>
>
> --
> Adrian Klaver
> [email protected]
>
>
>

-- 
Regards,
--
Alexander Kukushkin


^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Patroni basebackup server compression not working in 4.1.1
  2026-04-22 07:30 Patroni basebackup server compression not working in 4.1.1 Radu Radutiu <[email protected]>
  2026-04-22 14:47 ` Re: Patroni basebackup server compression not working in 4.1.1 Adrian Klaver <[email protected]>
  2026-04-22 15:15   ` Re: Patroni basebackup server compression not working in 4.1.1 Alexander Kukushkin <[email protected]>
@ 2026-04-23 11:39     ` Radu Radutiu <[email protected]>
  0 siblings, 0 replies; 4+ messages in thread

From: Radu Radutiu @ 2026-04-23 11:39 UTC (permalink / raw)
  To: Alexander Kukushkin <[email protected]>; +Cc: [email protected]

>
> Empty PGDATA is the main usecase for basebackup with patroni, should I
> open a ticket? The documentation is also not updated for this feature.
>

Rest regards,
Radu


^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2026-04-23 11:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-04-22 07:30 Patroni basebackup server compression not working in 4.1.1 Radu Radutiu <[email protected]>
2026-04-22 14:47 ` Adrian Klaver <[email protected]>
2026-04-22 15:15   ` Alexander Kukushkin <[email protected]>
2026-04-23 11:39     ` Radu Radutiu <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox