View Issue Details

IDProjectCategoryView StatusLast Update
0000264Pgpool-IIBugpublic2016-11-24 13:03
Reportert1Assigned Tot-ishii 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionopen 
Platformx86 64OSCentosOS Version6.8
Product Version3.6.0 
Target Version3.6.1Fixed in Version 
Summary0000264: FATAL: -1 is outside the valid range for parameter "client_idle_limit_in_recovery" (0 .. 2147483647) occurs in 3.6.0
DescriptionWhen client_idle_limit_in_recovery is set to -1, pgpool does not start up by outputting the following log.

FATAL: -1 is outside the valid range for parameter "client_idle_limit_in_recovery" (0 .. 2147483647)
Steps To ReproduceSet client_idle_limit_in_recovery to -1 to start pgpool
Additional Informationpool_config_variables.c
Line 1411 to line 1420

    {
        {"client_idle_limit_in_recovery", CFGCXT_SESSION, RECOVERY_CONFIG,
            "Time limit is seconds for the child connection, before it is terminated during the 2nd stage recovery.",
            CONFIG_VAR_TYPE_INT,false, 0
        },
        &g_pool_config.client_idle_limit_in_recovery,
        0,
        0,INT_MAX,
        NULL, NULL, NULL
    },

Line 1418
0, INT_MAX,
I think that is wrong
TagsNo tags attached.

Activities

t-ishii

2016-11-24 10:19

developer   ~0001189

Thanks for the report. Yes, it's a bug as you pointed out.

0, INT_MAX,

should be:

-1, INT_MAX,

Fix will appear in 3.6.1.

t1

2016-11-24 12:07

reporter   ~0001190

Thank you and best regards

Issue History

Date Modified Username Field Change
2016-11-24 10:02 t1 New Issue
2016-11-24 10:19 t-ishii Note Added: 0001189
2016-11-24 10:20 t-ishii Assigned To => t-ishii
2016-11-24 10:20 t-ishii Status new => assigned
2016-11-24 10:23 t-ishii Product Version => 3.6.0
2016-11-24 10:23 t-ishii Target Version => 3.6.1
2016-11-24 12:07 t1 Note Added: 0001190
2016-11-24 13:03 t-ishii Status assigned => resolved