Opened 11 years ago

Last modified 9 years ago

#667 new enhancement

IZ3015: libs/sgeobj/sge_schedd_conf.c by far too complicated

Reported by: joga Owned by:
Priority: normal Milestone:
Component: sge Version: 6.2u2
Severity: Keywords: Sun cleanup
Cc:

Description

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

        Issue #:      3015             Platform:     Sun           Reporter: joga (joga)
       Component:     gridengine          OS:        All
     Subcomponent:    cleanup          Version:      6.2u2            CC:    None defined
        Status:       NEW              Priority:     P3
      Resolution:                     Issue type:    ENHANCEMENT
                                   Target milestone: ---
      Assigned to:    ernst (ernst)
      QA Contact:     ernst
          URL:
       * Summary:     libs/sgeobj/sge_schedd_conf.c by far too complicated
   Status whiteboard:
      Attachments:

     Issue 3015 blocks:
   Votes for issue 3015:


   Opened: Mon May 4 02:56:00 -0700 2009 
------------------------


The code handling the scheduler configuration is by far too complicated, or at least not properly documented.
Part of the configuration is stored globally, other parts in thread local storage, without an indication of why this has been done or is
necessary.

The code is hard to understand, there is a high probability of introducing new bugs when modifying it.

See also IZ 3014 - it could be fixed without touching the scheduler config, but its root cause most probably lies in the scheduler config
module (the setting of schedd_job_info in the worker threads).

Change History (0)

Note: See TracTickets for help on using tickets.