[#1011194] default_pool_size and reserve_pool_size cannot be configured using "set" command

View Trackers | Bugs | Download .csv | Monitor

Date:
2012-05-16 21:14
Priority:
3
State:
Open
Submitted by:
Keyur Govande (keyur)
Assigned to:
Nobody (None)
Category:
Group:
Resolution:
None
 
Summary:
default_pool_size and reserve_pool_size cannot be configured using "set" command

Detailed description
The variables default_pool_size and reserve_pool_size cannot be changed using the "set" commands.

The cf_default_pool_size and cf_res_pool_size are appropriately updated, but the settings stored in the DB object (PgDatabase*) aren't updated. So the pool size doesn't really change at all.

The only way to change these 2 variables dynamically is to change the config file and then reload. Reload calls config_postprocess() to update the PgDatabase* objects.

Followup

Message
Date: 2012-05-31 15:03
Sender: Marko Kreen

I guess the way to do it is to use int* pointer under PgPool and point it to either value under Pgdatabase or cf_*. Then we would not need to reorg the setting code, and can keep the complexity down.
Date: 2012-05-29 21:24
Sender: Marko Kreen

Although it would be good if they are settable, the fix is non-trivial...

Will try to do something for 1.6 release.

Attached Files:

Changes:

Field Old Value Date By
summarydefault_pool_size and reserve_pool_size cannot be configured using "set" command 2012-05-31 15:03mkz
summarydefault_pool_size and reserve_pool_size cannot be configured using "set" command 2012-05-29 21:24mkz
Powered By FusionForge