Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix default value of primary-reboot-down-after-period in sentinel.conf #1040

Merged
merged 1 commit into from
Sep 21, 2024

Conversation

enjoy-binbin
Copy link
Member

Since in here the monitor value is mymaster, we need to make sure the primary
name is the same, otherwise the default configuration cannot start sentinel.

sentinel monitor mymaster 127.0.0.1 6379 2

The following error occurs when the default configuration is started:

*** FATAL CONFIG FILE ERROR (Version 255.255.255) ***
Reading the configuration file, at line 358
>>> 'SENTINEL primary-reboot-down-after-period myprimary 0'
No such master with specified name.

Introduced in #647.

Since in here the monitor value is mymaster, we need to make sure the primary
name is the same, otherwise the default configuration cannot start sentinel.
```
sentinel monitor mymaster 127.0.0.1 6379 2
```

The following error occurs when the default configuration is started:
```
*** FATAL CONFIG FILE ERROR (Version 255.255.255) ***
Reading the configuration file, at line 358
>>> 'SENTINEL primary-reboot-down-after-period myprimary 0'
No such master with specified name.
```

Introduced in valkey-io#647.

Signed-off-by: Binbin <[email protected]>
@enjoy-binbin enjoy-binbin added the release-notes This issue should get a line item in the release notes label Sep 17, 2024
Copy link

codecov bot commented Sep 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.62%. Comparing base (f89ff31) to head (760f7a4).
Report is 7 commits behind head on unstable.

Additional details and impacted files
@@             Coverage Diff              @@
##           unstable    #1040      +/-   ##
============================================
+ Coverage     70.58%   70.62%   +0.03%     
============================================
  Files           114      114              
  Lines         61670    61670              
============================================
+ Hits          43530    43553      +23     
+ Misses        18140    18117      -23     

see 11 files with indirect coverage changes

@enjoy-binbin enjoy-binbin merged commit ea7a799 into valkey-io:unstable Sep 21, 2024
46 checks passed
@enjoy-binbin enjoy-binbin deleted the fix_sentinel branch September 21, 2024 13:09
madolson pushed a commit to madolson/valkey that referenced this pull request Sep 30, 2024
valkey-io#1040)

Since in here the monitor value is mymaster, we need to make sure the
primary name is the same, otherwise the default configuration cannot start
sentinel.
```
sentinel monitor mymaster 127.0.0.1 6379 2
```

The following error occurs when the default configuration is started:
```
*** FATAL CONFIG FILE ERROR (Version 255.255.255) ***
Reading the configuration file, at line 358
>>> 'SENTINEL primary-reboot-down-after-period myprimary 0'
No such master with specified name.
```

Introduced in valkey-io#647.

Signed-off-by: Binbin <[email protected]>
PingXie pushed a commit to PingXie/valkey that referenced this pull request Oct 9, 2024
valkey-io#1040)

Since in here the monitor value is mymaster, we need to make sure the
primary name is the same, otherwise the default configuration cannot start
sentinel.
```
sentinel monitor mymaster 127.0.0.1 6379 2
```

The following error occurs when the default configuration is started:
```
*** FATAL CONFIG FILE ERROR (Version 255.255.255) ***
Reading the configuration file, at line 358
>>> 'SENTINEL primary-reboot-down-after-period myprimary 0'
No such master with specified name.
```

Introduced in valkey-io#647.

Signed-off-by: Binbin <[email protected]>
naglera pushed a commit to naglera/placeholderkv that referenced this pull request Oct 10, 2024
valkey-io#1040)

Since in here the monitor value is mymaster, we need to make sure the
primary name is the same, otherwise the default configuration cannot start
sentinel.
```
sentinel monitor mymaster 127.0.0.1 6379 2
```

The following error occurs when the default configuration is started:
```
*** FATAL CONFIG FILE ERROR (Version 255.255.255) ***
Reading the configuration file, at line 358
>>> 'SENTINEL primary-reboot-down-after-period myprimary 0'
No such master with specified name.
```

Introduced in valkey-io#647.

Signed-off-by: Binbin <[email protected]>
Signed-off-by: naglera <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-notes This issue should get a line item in the release notes
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants