all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Shannon Sterz <s.sterz@proxmox.com>
To: pdm-devel@lists.proxmox.com
Subject: [PATCH datacenter-manager v2 0/2] fix an issue with cached subscription info
Date: Wed,  3 Jun 2026 14:27:31 +0200	[thread overview]
Message-ID: <20260603122735.425390-1-s.sterz@proxmox.com> (raw)

and slightly improve the caching mechanism. the second patch here is
optional, it's just something i noticed while debugging.

Changelog
---------

changes since v1 (thanks @ Fabian Grünbichler):
- https://lore.proxmox.com/pdm-devel/20260603115442.361184-1-s.sterz@proxmox.com/)
* added a helper function that guarantees freshly fetched info that
  never touched the cache. the last version had a slight chance of a
  race occurring and us again getting cached, incomplete information.
* improved logging.

Shannon Sterz (2):
  server: subscription: always get fresh subscription info on update
  server: cache: short-circuit on special max age value 0

 server/src/api/nodes/subscription.rs | 47 +++++++++++++++++++++++-----
 server/src/api/resources.rs          | 13 ++++++++
 server/src/namespaced_cache.rs       |  4 +++
 3 files changed, 57 insertions(+), 7 deletions(-)

--
2.47.3





             reply	other threads:[~2026-06-03 12:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-03 12:27 Shannon Sterz [this message]
2026-06-03 12:27 ` [PATCH datacenter-manager v2 1/2] server: subscription: always get fresh subscription info on update Shannon Sterz
2026-06-03 12:27 ` [PATCH datacenter-manager v2 2/2] server: cache: short-circuit on special max age value 0 Shannon Sterz
2026-06-03 12:55 ` applied-series: [PATCH datacenter-manager v2 0/2] fix an issue with cached subscription info Fabian Grünbichler

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=20260603122735.425390-1-s.sterz@proxmox.com \
    --to=s.sterz@proxmox.com \
    --cc=pdm-devel@lists.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.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal