Permalink
Commits on Oct 21, 2011
  1. add wait-for-license to cov-analyze

    sdake committed Oct 21, 2011
    Signed-off-by: Steven Dake <sdake@redhat.com>
    Reviewed-by: Angus Salkeld <asalkeld@redhat.com>
  2. res could return an undefined value if there was no error in

    sdake committed Oct 21, 2011
    totempg_groups_initialize
    
    Signed-off-by: Steven Dake <sdake@redhat.com>
    Reviewed-by: Angus Salkeld <asalkeld@redhat.com>
  3. Remove default from cpg_model_initialize - atm there is only one model

    sdake committed Oct 21, 2011
    Signed-off-by: Steven Dake <sdake@redhat.com>
    Reviewed-by: Angus Salkeld <asalkeld@redhat.com>
  4. Remove dead code in evs service

    sdake committed Oct 21, 2011
    Signed-off-by: Steven Dake <sdake@redhat.com>
    Reviewed-by: Angus Salkeld <asalkeld@redhat.com>
  5. Remove dead code in votequorum

    sdake committed Oct 21, 2011
    Signed-off-by: Steven Dake <sdake@redhat.com>
    Reviewed-by: Angus Salkeld <asalkeld@redhat.com>
  6. TEST: make cpgbench go to 1M

    asalkeld committed Oct 21, 2011
    Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
    Reviewed-by: Steven Dake <sdake@redhat.com>
  7. Remove references to README.devmap

    asalkeld committed Oct 21, 2011
    Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
    Reviewed-by: Steven Dake <sdake@redhat.com>
  8. Remove dead code in cfg.c

    sdake committed Oct 21, 2011
    Signed-off-by: Steven Dake <sdake@redhat.com>
  9. Remove old README.devmap

    asalkeld committed Oct 21, 2011
    Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
    Reviewed-by: Steven Dake <sdake@redhat.com>
  10. MAN: remove unused man pages

    asalkeld committed Oct 21, 2011
    Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
    Reviewed-by: Steven Dake <sdake@redhat.com>
  11. LOG: use libqb facility conversion functions

    asalkeld committed Oct 21, 2011
    Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
    Reviewed-by: Steven Dake <sdake@redhat.com>
  12. LOG: get logging to file working correctly

    asalkeld committed Oct 21, 2011
    Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
    Reviewed-by: Steven Dake <sdake@redhat.com>
  13. LOG: Fix debugging

    asalkeld committed Oct 21, 2011
    Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
    Reviewed-by: Steven Dake <sdake@redhat.com>
Commits on Oct 20, 2011
  1. Updated TODO with feedback from community defining our Needle 2.0/2.1…

    sdake committed Oct 19, 2011
    … goals
    
    Signed-off-by: Steven Dake <sdake@redhat.com>
    Revieweed-by: Jan Friesse <jfriesse@redhat.com>
  2. Add --concurrency to coverity make target

    sdake committed Oct 19, 2011
    Signed-off-by: Steven Dake <sdake@redhat.com>
    Reviewed-by: Jan Friesse <jfriesse@redhat.com>
Commits on Oct 10, 2011
  1. Remove cloned lines in main of main.c

    masatake committed with sdake Oct 6, 2011
    Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Commits on Sep 22, 2011
  1. Deliver all messages from my_high_seq_recieved to the last gap

    sdake committed with jfriesse Sep 19, 2011
    This patch passes two test cases:
    
    -------
    Test #1
    -------
    Two node cluster - run cpgbench on each node
    
    modify totemsrp with following defines:
    Two test cases:
    
    -------
    Test #2
    -------
    5 node cluster
    
    start 5 nodes randomly at about same time, start 5 nodes randomly at about
    same time, wait 10 seconds and attempt to send a message.  If message blocks
    on "TRY_AGAIN" likely a message loss has occured.  Wait a few minutes without
    cyclng the nodes and see if the TRY_AGAIN state becomes unblocked.
    
    If it doesn't the test case has failed
    
    Signed-off-by: Steven Dake <sdake@redhat.com>
    Reviewed-by: Reviewed-by: Jan Friesse <jfriesse@redhat.com>
Commits on Sep 8, 2011
  1. totemconfig: change minimum RRP threshold

    jfriesse committed Sep 8, 2011
    RRP threshold can be lower value then 5.
    
    Signed-off-by: Jan Friesse <jfriesse@redhat.com>
    Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Commits on Sep 5, 2011
  1. Allow conditional rpmbuilds of NSS feature

    sdake committed Sep 5, 2011
    NSS is currently non-conditional.  Allow nss to be build conditonally.
    
    Signed-off-by: Steven Dake <sdake@redhat.com>
    Reviewed-by: Angus Salkeld <asalked@redhat.com>
Commits on Sep 2, 2011
  1. Ignore memb_join messages during flush operations

    sdake committed Aug 31, 2011
    a memb_join operation that occurs during flushing can result in an
    entry into the GATHER state from the RECOVERY state.  This results in the
    regular sort queue being used instead of the recovery sort queue, resulting
    in segfault.
    
    Signed-off-by: Steven Dake <sdake@redhat.com>
    Reviewed-by: Jan Friesse <jfriesse@redhat.com>
Commits on Sep 1, 2011
  1. rrp: Higher threshold in passive mode for mcast

    jfriesse committed Aug 29, 2011
    There were too much false positives with passive mode rrp when high
    number of messages were received.
    
    Patch adds new configurable variable rrp_problem_count_mcast_threshold
    which is by default 10 times rrp_problem_count_threshold and this is
    used as threshold for multicast packets in passive mode. Variable is
    unused in active mode.
    
    Signed-off-by: Jan Friesse <jfriesse@redhat.com>
    Reviewed by: Steven Dake <sdake@redhat.com>
  2. rrp: Handle endless loop if all ifaces are faulty

    jfriesse committed Aug 29, 2011
    If all interfaces were faulty, passive_mcast_flush_send and related
    functions ended in endless loop. This is now handled and if there is no
    live interface, message is dropped.
    
    Signed-off-by: Jan Friesse <jfriesse@redhat.com>
    Reviewed by: Steven Dake <sdake@redhat.com>
Commits on Aug 24, 2011
  1. Get rid of hdb usage in totempg.h interface

    sdake committed Aug 23, 2011
    hdb has some expense and is not necessary in the totempg.so runtime.  This
    patch removes the dependence on hdb and instead uses a direct pointer.
    
    Signed-off-by: Steven Dake <sdake@redhat.com>
    Reviewed-by: Angus Salkeld <asalkeld@redhat.com>
  2. Remove hdb.h header includes from unnecessary files

    sdake committed Aug 23, 2011
    The files in this patch do not use the hdb.h header.
    
    Signed-off-by: Steven Dake <sdake@redhat.com>
    Reviewed-by: Angus Salkeld <asalkeld@redhat.com>
Commits on Aug 23, 2011
  1. Use qb_hdb instead of mutex based hdb code

    sdake committed Aug 23, 2011
    Rid ourselves of the mutex usage still in the code base
    
    Signed-off-by: Steven Dake <sdake@redhat.com>
    Reviewed-by: Angus Salkeld <asalkeld@redhat.com>
  2. Add totempg_threaded_mode_enable() api

    sdake committed Aug 22, 2011
    This API allows totem to operate as a multithreaded library.  Performance is
    better without threads but some library users may only have multithreaded
    systems.  In the corosync case where we have removed threads, this reduces
    cpu utilization by ~10% by removing about 50% of the mutex lock and unlock calls
    that occur during typical operation.  Since the latest corosync is nearly
    thread free, there is no need for mutex operations.
    
    Signed-off-by: Steven Dake <sdake@redhat.com>
    Reviewed-by: Angus Salkeld <asalkeld@redhat.com>
  3. Move cs_queue.h from include directory to exec directory

    sdake committed Aug 22, 2011
    This file is only used by totemsrp.c.  Move out of general include
    directory.
    
    Signed-off-by: Steven Dake <sdake@redhat.com>
    Reviewed-by: Angus Salkeld <asalkeld@redhat.com>
  4. use va version of external log function

    sdake committed Aug 22, 2011
    This removes a sprintf operation in the totem and ipc logging operations
    
    Signed-off-by: Steven Dake <sdake@redhat.com>
    Reviewed-by: Angus Salkeld <asalkeld@redhat.com>
Commits on Aug 18, 2011
  1. A CPG client can sometimes lockup if the local node is in the downlist

    Tim Beale committed with jfriesse Aug 18, 2011
    In a 10-node cluster where all nodes are booting up and starting corosync
    at the same time, sometimes during this process corosync detects a node as
    leaving and rejoining the cluster.
    
    Occasionally the downlist that gets picked contains the local node. When the
    local node sends leave events for the downlist (including itself), it sets
    its cpd state to CPD_STATE_UNJOINED and clears the cpd->group_name. This
    means it no longer sends CPG events to the CPG client.
    
    Reviewed-by: Jan Friesse <jfriesse@redhat.com>
Commits on Aug 17, 2011
  1. Display ring-ID consistently in debug

    Tim Beale committed with asalkeld Aug 17, 2011
    Ring ID was being displayed both as hex and decimal in places. Update so
    it's displayed consistently (I chose hex) to make debugging easier.
    
    Reviewed-by: Angus Salkeld <asalkeld@redhat.com>
  2. Add code comment mapping for message handler defines

    Tim Beale committed with asalkeld Aug 17, 2011
    As a corosync-newbie it can be hard to bridge the gap between where a
    particular message is sent and where the receive handler processes it,
    and vice versa.
    
    Reviewed-by: Angus Salkeld <asalkeld@redhat.com>
Commits on Aug 15, 2011
  1. Remove -lcoroipcc from tools/Makefile.am notifyd

    sdake committed Aug 9, 2011
    Signed-off-by: Steven Dake <sdake@redhat.com>
    Reviewed-by: Angus Salkeld <asalkeld@redhat.com>
  2. properly define rec_token_cq_send_event_fn

    sdake committed Aug 9, 2011
    Signed-off-by: Steven Dake <sdake@redhat.com>
    Reviewed-by: Angus Salkeld <asalkeld@redhat.com>
  3. Define totemiba_log_printf properly

    sdake committed Aug 9, 2011
    Signed-off-by: Steven Dake <sdake@redhat.com>
    Reviewed-by: Angus Salkeld <asalkeld@redhat.com>
  4. Fix problem in totemiba where incorrect define is used (and also not …

    sdake committed Aug 9, 2011
    …defined)
    
    Signed-off-by: Steven Dake <sdake@redhat.com>
    Reviewed-by: Angus Salkeld <asalkeld@redhat.com>