From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: pdm-devel@lists.proxmox.com, Shannon Sterz <s.sterz@proxmox.com>
Subject: applied: [PATCH datacenter-manager] server: location cache: also update cache if a location was removed
Date: Wed, 27 May 2026 18:01:48 +0200 [thread overview]
Message-ID: <177989770777.476509.14963855732573194616.b4-ty@b4> (raw)
In-Reply-To: <20260527152106.436183-1-s.sterz@proxmox.com>
On Wed, 27 May 2026 17:21:06 +0200, Shannon Sterz wrote:
> this removes all locations from the cache if the remote has no
> location anymore. otherwise clients may be served inconsitent data
> depending on how the max age property is set. showing no location when
> max-age is provided with a low value, but the cached location if it
> isn't.
>
> note that removing it would leave us in a race with newer writers as
> the `set_if_newer_with_timestamp` has no equivalent for remove. so set
> `None` in the cache instead for those cases.
>
> [...]
Applied, thanks!
[1/1] server: location cache: also update cache if a location was removed
commit: 50b8abaecbcfebcfc68e39af3fba6c2b089e4d94
prev parent reply other threads:[~2026-05-27 16:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-27 15:21 [PATCH datacenter-manager] server: location cache: also update cache if a location was removed Shannon Sterz
2026-05-27 16:01 ` Thomas Lamprecht [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=177989770777.476509.14963855732573194616.b4-ty@b4 \
--to=t.lamprecht@proxmox.com \
--cc=pdm-devel@lists.proxmox.com \
--cc=s.sterz@proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.