Redis 'repl-backlog-size' conf parameter using wrong MIN value

Redis configuration validation for the 'repl-backlog-size' parameter
uses a wrong MIN value of '0'.When set to less than 16384 value,
I can see that the value in redis.conf[1], but through the
'config get *' see are 16384[2]. Because the minimum default value
in redis is 16384[3]. So I want to modify Min value to 16384.

[1]: repl-backlog-size 0
[2]: 59) "repl-backlog-size"
     60) "16384"
[3]:58f79e2ff4/src/server.h (L110)

Closes-Bug: #1697596
Change-Id: I81cb1c02943edf0af3d7bf67ff2f083a4c07d518
This commit is contained in:
jiansong 2017-06-12 23:53:26 -07:00 committed by song jian
parent 74200eb601
commit f6659e8045
2 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,6 @@
---
fixes:
- Fixes an issue with redis configuration,it use a wrong min value
for repl-backlog-size in validation rules.
Bug 1697596

View File

@ -90,7 +90,7 @@
{
"name": "repl-backlog-size",
"restart_required": false,
"min": 0,
"min": 16384,
"type": "integer"
},
{