all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH datacenter-manager v2 0/2] fix an issue with cached subscription info
@ 2026-06-03 12:27 Shannon Sterz
  2026-06-03 12:27 ` [PATCH datacenter-manager v2 1/2] server: subscription: always get fresh subscription info on update Shannon Sterz
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Shannon Sterz @ 2026-06-03 12:27 UTC (permalink / raw)
  To: pdm-devel

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





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

end of thread, other threads:[~2026-06-03 12:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-03 12:27 [PATCH datacenter-manager v2 0/2] fix an issue with cached subscription info Shannon Sterz
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

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