Commit 4dc9144
Dual Channel Replication - Verify Replica Local Buffer Limit Configuration (valkey-io#989)
Prior to comparing the replica buffer against the configured limit, we
need to ensure that the limit configuration is enabled. If the limit is
set to zero, it indicates that there is no limit, and we should skip the
buffer limit check.
---------
Signed-off-by: naglera <[email protected]>
Signed-off-by: Ping Xie <[email protected]>1 parent b4165a4 commit 4dc9144
2 files changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2805 | 2805 | | |
2806 | 2806 | | |
2807 | 2807 | | |
2808 | | - | |
| 2808 | + | |
| 2809 | + | |
2809 | 2810 | | |
2810 | 2811 | | |
2811 | 2812 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| 135 | + | |
135 | 136 | | |
136 | | - | |
| 137 | + | |
137 | 138 | | |
138 | 139 | | |
139 | 140 | | |
| |||
0 commit comments