Skip to content

[9.0] fix: Remove SpaceTokenOccupancyCache methods from ResourceManagementClient/Handler - #8777

Merged
fstagni merged 2 commits into
DIRACGrid:rel-v9r0from
fstagni:90_removedEndpoint_90
Oct 8, 2026
Merged

fstagni merged 2 commits into
DIRACGrid:rel-v9r0from
fstagni:90_removedEndpoint_90

Conversation

@fstagni

@fstagni fstagni commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

FreeDiskSpaceCommand now queries ResourceManagementDB directly instead of going through the client/handler/service layer.

Removed:

  • deleteSpaceTokenOccupancyCache, addOrModifySpaceTokenOccupancyCache from ResourceManagementClient
  • test_SpaceTokenOccupancy from integration tests

Partial backport of #8223

BEGINRELEASENOTES

*RSS
CHANGE: Remove some of SpaceTokenOccupancyCache methods from ResourceManagementClient/Handler

ENDRELEASENOTES

Comment thread src/DIRAC/ResourceStatusSystem/Command/FreeDiskSpaceCommand.py
Comment thread src/DIRAC/ResourceStatusSystem/Command/FreeDiskSpaceCommand.py Outdated
Comment thread src/DIRAC/ResourceStatusSystem/Command/FreeDiskSpaceCommand.py
Comment thread src/DIRAC/ResourceStatusSystem/Client/ResourceManagementClient.py
@fstagni
fstagni force-pushed the 90_removedEndpoint_90 branch from db4bd70 to 9183d2f Compare September 25, 2026 14:15
aldbr
aldbr previously approved these changes Sep 28, 2026
@aldbr

aldbr commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

ddev
@fstagni will check exactly if the removal of the methods is necessary

@fstagni
fstagni force-pushed the 90_removedEndpoint_90 branch 2 times, most recently from d51d59d to e708535 Compare October 8, 2026 07:35
…lient/Handler

FreeDiskSpaceCommand now queries ResourceManagementDB directly instead of
going through the client/handler/service layer.

Removed:
  addOrModifySpaceTokenOccupancyCache from ResourceManagementClient
- _DEPRECATED_COLUMNS and _stripDeprecatedColumns from ResourceManagementHandler
  (only used for SpaceTokenOccupancyCache Endpoint column)
- test_SpaceTokenOccupancy from integration tests
@fstagni
fstagni force-pushed the 90_removedEndpoint_90 branch from e708535 to aff8494 Compare October 8, 2026 07:39
@fstagni
fstagni force-pushed the 90_removedEndpoint_90 branch 3 times, most recently from f25750d to e651e46 Compare October 8, 2026 09:31
@fstagni
fstagni force-pushed the 90_removedEndpoint_90 branch from e651e46 to 183bc60 Compare October 8, 2026 09:41
@fstagni
fstagni merged commit 44428f3 into DIRACGrid:rel-v9r0 Oct 8, 2026
24 checks passed
@DIRACGridBot DIRACGridBot added the sweep:ignore Prevent sweeping from being ran for this PR label Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sweep:ignore Prevent sweeping from being ran for this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants