Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Ganeti core branch master updated. v2.6.1-602-ge9e07c9
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
ganeti-vcs  
View profile  
 More options Nov 13 2012, 2:37 pm
From: ganeti-...@google.com (ganeti-vcs)
Date: Tue, 13 Nov 2012 19:37:18 +0000 (UTC)
Local: Tues, Nov 13 2012 2:37 pm
Subject: [SCM] Ganeti core branch master updated. v2.6.1-602-ge9e07c9
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Ganeti core".

The branch, master has been updated
       via  e9e07c9c398c45be5a211f08fcb7d40134a321ec (commit)
       via  f63ffb3792ea98aa9b3f84569bc4d630f54de01a (commit)
       via  4679547e493009eacdc987f36168c03f7e35cca1 (commit)
       via  99fb250bbb4bb53446f5041a372a002b1da45981 (commit)
       via  bba69414ff37daf47bbcbff539b0ba8df9d7332c (commit)
       via  9a2564e72958362b364f5129f470757946f0a6b6 (commit)
       via  125b74b274849e717637438c672bbb17a43b5c58 (commit)
      from  39f0eea533056c8a26da089a774a27b13097e489 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e9e07c9c398c45be5a211f08fcb7d40134a321ec
Author: Michael Hanselmann <han...@google.com>
Date:   Wed Oct 24 03:46:15 2012 +0200

    Add “gnt-job change-priority” sub-command

    This can be used to change the priority of a pending or running job (the
    latter only if there are unprocessed opcodes).

    Signed-off-by: Michael Hanselmann <han...@google.com>
    Reviewed-by: Bernardo Dal Seno <bdals...@google.com>

commit f63ffb3792ea98aa9b3f84569bc4d630f54de01a
Author: Michael Hanselmann <han...@google.com>
Date:   Wed Oct 24 03:46:01 2012 +0200

    Expose changing job priority via LUXI

    A new LUXI request is added, in both Python and Haskell.

    Signed-off-by: Michael Hanselmann <han...@google.com>
    Reviewed-by: Bernardo Dal Seno <bdals...@google.com>
    Reviewed-by: Iustin Pop <ius...@google.com>

commit 4679547e493009eacdc987f36168c03f7e35cca1
Author: Michael Hanselmann <han...@google.com>
Date:   Wed Oct 24 03:45:23 2012 +0200

    jqueue: Allow changing of job priority

    This is due to a feature request. Sometimes one wants to change the
    priority of a job after it has been submitted, e.g. after submitting an
    important job only to later notice many other pending jobs which will be
    processed first. Priority changes only take effect at the next lock
    acquisition or when the job is re-scheduled.

    The design is very similar to how jobs are cancelled.

    Unit tests for “_QueuedJob.ChangePriority” are included.

    Also rename “TestQueuedJob.test” to “TestQueuedJob.testError”.

    Signed-off-by: Michael Hanselmann <han...@google.com>
    Reviewed-by: Bernardo Dal Seno <bdals...@google.com>

commit 99fb250bbb4bb53446f5041a372a002b1da45981
Author: Michael Hanselmann <han...@google.com>
Date:   Fri Nov 2 20:03:50 2012 +0100

    jqueue: Set task ID for jobs added to workerpool

    The job ID is re-used as the task ID, as job IDs are unique.

    Signed-off-by: Michael Hanselmann <han...@google.com>
    Reviewed-by: Bernardo Dal Seno <bdals...@google.com>

commit bba69414ff37daf47bbcbff539b0ba8df9d7332c
Author: Michael Hanselmann <han...@google.com>
Date:   Thu Nov 1 19:06:02 2012 +0100

    workerpool: Preserve task number when deferring

    When a task is deferred it should receive the same task ID upon being
    returned to the pool.

    Signed-off-by: Michael Hanselmann <han...@google.com>
    Reviewed-by: Bernardo Dal Seno <bdals...@google.com>

commit 9a2564e72958362b364f5129f470757946f0a6b6
Author: Michael Hanselmann <han...@google.com>
Date:   Tue Oct 30 16:44:02 2012 +0100

    workerpool: Add method to change task's priority

    Using the task ID a pending task's priority can be changed. This will be
    used to change the priority of jobs in the workerpool.

    Signed-off-by: Michael Hanselmann <han...@google.com>
    Reviewed-by: Bernardo Dal Seno <bdals...@google.com>

commit 125b74b274849e717637438c672bbb17a43b5c58
Author: Michael Hanselmann <han...@google.com>
Date:   Tue Oct 30 16:44:27 2012 +0100

    workerpool: Change data structure for priority change

    To prepare for the addition of a new function allowing changing a
    pending task's priority, the internal data structure is slightly
    changed. The (optional) task ID is stored as part of the task entry. A
    new dictionary provides a mapping from the task ID to its task entry. If
    the task ID is None, the entry is not added to the map.

    Task entries used to be a tuple, but since modifying the priority
    requires changing an entry, they are changed to lists in this patch.
    Tuple items can not be modified.

    The underlying idea is from [1].

    [1]:
    http://docs.python.org/library/heapq.html#priority-queue-implementati...

    Signed-off-by: Michael Hanselmann <han...@google.com>
    Reviewed-by: Bernardo Dal Seno <bdals...@google.com>

-----------------------------------------------------------------------

Summary of changes:
 htest/Test/Ganeti/Luxi.hs              |    2 +
 htools/Ganeti/Luxi.hs                  |    8 +
 lib/client/gnt_job.py                  |   26 +++
 lib/jqueue.py                          |   84 ++++++++++-
 lib/luxi.py                            |    5 +
 lib/server/masterd.py                  |    6 +
 lib/workerpool.py                      |  146 ++++++++++++++++--
 man/gnt-job.rst                        |   12 ++
 test/ganeti.jqueue_unittest.py         |  270 +++++++++++++++++++++++++++++++-
 test/ganeti.rapi.testutils_unittest.py |    1 +
 test/ganeti.workerpool_unittest.py     |  255 ++++++++++++++++++++++++++++++-
 11 files changed, 798 insertions(+), 17 deletions(-)

hooks/post-receive
--
Ganeti core


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »