Ticket #17 (new task)

Opened 13 years ago

Last modified 4 years ago

IZ165: Combine the objects JC_Type and SU_Type

Reported by: ernst Owned by:
Priority: normal Milestone:
Component: sge Version: current
Severity: Keywords: cleanup
Cc:

Description

[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=165]

        Issue #:      165              Platform:     All       Reporter: ernst (ernst)
       Component:     gridengine          OS:        All
     Subcomponent:    cleanup          Version:      current      CC:    None defined
        Status:       NEW              Priority:     P3
      Resolution:                     Issue type:    TASK
                                   Target milestone: ---
      Assigned to:    ernst (ernst)
      QA Contact:     ernst
          URL:
       * Summary:     Combine the objects JC_Type and SU_Type
   Status whiteboard:
      Attachments:

     Issue 165 blocks:
   Votes for issue 165:


   Opened: Wed Feb 27 02:59:00 -0700 2002 
------------------------


JC_Type and SU_Type are identical objects. One is used within the scheduler
and the other in qmaster. Functions which access these objects are nearly
equal. We should combine those objects and the necessary code:

sge_dec_jc
sge_inc_jc
libs/sched/sge_job_schedd.c
...
suser_increase_job_counter
suser_decrease_job_counter
suser_get_job_counter
libs/gdi/sge_suser.c
...

   ------- Additional comments from ernst Mon Dec 16 03:01:55 -0700 2002 -------
SU_Type objects are not deleted in master if jobcount is 0 for that user. In suser_unregister_job() we have to delete this object.
Note: See TracTickets for help on using tickets.