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  cf12e5acbe9de19f931e142df7b702c981923c62 (commit)
       via  47dc24cbd3ef6e4480f35798f624fc5ac0d1d7b5 (commit)
       via  1ee7c1e2a31276113eee062b42cae54ccd4de578 (commit)
       via  5b071f2ec35b558e1fde075a21ad51f124136410 (commit)
      from  083776b9dbd7e704357841e6a8a4fce6802199fc (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 cf12e5acbe9de19f931e142df7b702c981923c62
Author: Klaus Aehlig <[email protected]>
Date:   Mon Nov 3 16:22:45 2014 +0100

    Only read config if necessary
    
    Make the ConfigWriter only rerequest the configuration if
    it became outdated in the mean time. This will save unnecessary
    traffic between jobs and WConfD.
    
    Signed-off-by: Klaus Aehlig <[email protected]>
    Reviewed-by: Petr Pudlak <[email protected]>

commit 47dc24cbd3ef6e4480f35798f624fc5ac0d1d7b5
Author: Klaus Aehlig <[email protected]>
Date:   Mon Nov 3 16:06:05 2014 +0100

    Outdate the config when waiting for locks
    
    One of the reasons why jobs wait for locks is to avoid other
    jobs modifying the same object. So, if we decide to wait for
    locks, we cannot use our cached copy of the config any more.
    
    Signed-off-by: Klaus Aehlig <[email protected]>
    Reviewed-by: Petr Pudlak <[email protected]>

commit 1ee7c1e2a31276113eee062b42cae54ccd4de578
Author: Klaus Aehlig <[email protected]>
Date:   Mon Nov 3 16:14:45 2014 +0100

    Support outdating a config
    
    The config reader has a cached copy of the configuration.
    Support marking it as outdated. In that way, we will later
    be able to restrict reads to the case if we don't have
    an up-to-date copy.
    
    Signed-off-by: Klaus Aehlig <[email protected]>
    Reviewed-by: Petr Pudlak <[email protected]>

commit 5b071f2ec35b558e1fde075a21ad51f124136410
Author: Klaus Aehlig <[email protected]>
Date:   Mon Nov 3 17:09:33 2014 +0100

    design: read config from cache
    
    As jobs often ask for various parts of the configuration
    in short sequence, we add a way to have those reads occur
    from a cache in the job.
    
    Signed-off-by: Klaus Aehlig <[email protected]>
    Reviewed-by: Petr Pudlak <[email protected]>

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

Summary of changes:
 doc/design-configlock.rst |    8 ++++++++
 lib/config.py             |   14 +++++++++++---
 lib/mcpu.py               |    2 ++
 3 files changed, 21 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
Ganeti core

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"ganeti-commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to