Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#1582 closed defect (fixed)

Project object usage not spooled while qmaster running

Reported by: markdixon Owned by: Mark Dixon <m.c.dixon@…>
Priority: normal Milestone:
Component: sge Version: 8.1.8
Severity: minor Keywords:
Cc:

Description

Fix attached. From the commit:

Fix xxx spool project sharetree usage while qmaster running


The qmaster only writes out sharetree usage data periodically. Some
tidying in a commit designated RD-2008-02-26-0 introduced faulty logic,
meaning that usage was not spooled to projects in some situations.


  • If there were jobs running, usage would be spooled to user objects but not to project objects.
  • If no jobs were running, usage would be spoooled to project objects.


This commit reverts to the original logic.

Commit prepared against 8.1.9

Note that usage stored in the spool can still end up considerably out of date due to #1554.

Attachments (2)

Change History (4)

comment:1 Changed 3 years ago by Mark Dixon <m.c.dixon@…>

  • Owner set to Mark Dixon <m.c.dixon@…>
  • Resolution set to fixed
  • Status changed from new to closed

In 4914/sge:

Fix #1582 spool project sharetree usage while qmaster

comment:2 Changed 3 years ago by Mark Dixon <m.c.dixon@…>

In 4924/sge:

Fix #1582 spool project sharetree usage while qmaster running
The qmaster only writes out sharetree usage data periodically. Some
tidying in a commit designated RD-2008-02-26-0 introduced faulty
logic,
meaning that usage was not spooled to projects in some situations.

  • If there were jobs running, usage would be spooled to user objects but not to project objects.
  • If no jobs were running, usage would be spoooled to project objects.

This commit reverts to the original logic.

[Duplicate changeset to fix missing log.]

Note: See TracTickets for help on using tickets.