Bug 166009 - heartbeat_rate ignores integer values for heartbeat_rate
heartbeat_rate ignores integer values for heartbeat_rate
Status: CLOSED CURRENTRELEASE
Product: Red Hat Cluster Suite
Classification: Red Hat
Component: gulm (Show other bugs)
3
All Linux
medium Severity medium
: ---
: ---
Assigned To: Chris Feist
Cluster QE
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-08-15 14:37 EDT by Adam "mantis" Manthei
Modified: 2009-12-22 15:39 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-12-22 15:39:17 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Adam "mantis" Manthei 2005-08-15 14:37:41 EDT
Description of problem:
lock_gulmd ignores integer values for entries that are suppose to be floats
(e.g. heartbeat_rate).

Version-Release number of selected component (if applicable):
GFS-6.0.2.25-0

How reproducible:
Always

Steps to Reproduce:
1. ccs_read file cluster.ccs
cluster {
        name = "floater"
        lock_gulm { 
                servers = [ "trin-01.lab.msp.redhat.com" ] 
                heartbeat_rate  = 10
                allowed_misses = 1
        }
}

2. lock_gulmd

3. killall -10 lock_gulmd

4. cat /tmp/Gulm_config.wTCXvI 
#===============================================================================
# hashed: 0xee0e8746
cluster {
 name = "floater"
 lock_gulm {
  heartbeat_rate = 15.000
  allowed_misses = 1
  coreport = 40040
  new_connection_timeout = 15.000
  # server cnt: 1
  # servers = ["trin-01.lab.msp.redhat.com"]
  servers = ["10.15.84.171"]
  lt_partitions = 1
  lt_base_port = 41040
  lt_high_locks = 1048576
  lt_drop_req_rate = 10
  prealloc_locks = 90000
  prealloc_holders = 130000
  prealloc_lkrqs = 60
  ltpx_port = 40042
  

 }
}

  
Actual results:
defaults to 15.0 seconds for heartbeat rate

Expected results:
integer values should work

Additional info:
Comment 1 Adam "mantis" Manthei 2005-08-15 15:55:19 EDT
so far, a work around for this is to use floating point numbers instead of
integer values when setting heartbeat_rate.  
Comment 2 Adam "mantis" Manthei 2005-08-15 16:43:06 EDT
fixed in CVS

Checking in config_main.c;
/cvs/gulm/daemon/config_main.c,v  <--  config_main.c
new revision: 1.1.2.7; previous revision: 1.1.2.6
done

Comment 3 Lon Hohberger 2009-12-22 15:39:17 EST
Cleanup.

This bugzilla should be resolved with the current packages from RHN for Red Hat Global File System for Red Hat Enterprise Linux 3.

GFS-6.0.2.36-9

Note You need to log in before you can comment on or make changes to this bug.