Skip to content

Conversation

garlick
Copy link
Member

@garlick garlick commented Nov 8, 2023

Problem: the Rv1 attributes section is used by the early Fluxion queue implementation to store the assigned queue name in the system.scheduler key, but queues are now handled differently per RFC 33.

Drop the attributes section as discussed in #401

@grondo
Copy link
Contributor

grondo commented Nov 8, 2023

In case it wasn't clear in #401, this section is still required by Fluxion for multi-queue restart (on restart presumably Fluxion does not have access to jobspec to get the queue name, which for some reason it needs). I'll open an issue in flux-sched and refer to this PR.

@garlick
Copy link
Member Author

garlick commented Nov 8, 2023

Yes that is what I was thinking. Move RFCs forward, let code catch up. And it should have access to the jobspec...oh maybe you meant in the place where it's using the queue name.

@grondo
Copy link
Contributor

grondo commented Nov 8, 2023

FYI: flux-framework/flux-sched#1108

@grondo
Copy link
Contributor

grondo commented Nov 8, 2023

And it should have access to the jobspec...oh maybe you meant in the place where it's using the queue name.

Yeah, I'm guessing this is in the scheduler "hello" protocol. I think only R objects are returned by this protocol. Stashing the queue name in R may have been an optimization to avoid fetching the jobspec for every R? (I actually don't know, just guessing)

@garlick
Copy link
Member Author

garlick commented Sep 16, 2025

Since flux-framework/flux-sched#1108 was resolved, I think fluxion no longer requires the attributes section of Rv1. (As a test I installed the latest fluxion on my test system with queues enabled and verified that no attributes section appears in the R assigned to a test job). So if there was a concern about fluxion's design requiring that section, it appears to have been addressed :-)

Problem: the Rv1 attributes section is used by the early Fluxion
queue implementation to store the assigned queue name in the
system.scheduler key, but queues are now handled differently per
RFC 33.

Drop the attributes section.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants