CodisLabs / CodisLabs/codis

codis3添加sentinel之后点击“SYNC”异常

Open
#1,275 23 comments 0 reactions 0 assignees View on GitHub
todo
Dominant language
Go
Stars
13.2k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

codis3中添加完sentinel,状态还是(OUT OF SYNC),手动点击SYNC之后报错:
```
{
"Cause": "context deadline exceeded",
"Stack": [
{
"Name": "github.com/CodisLabs/codis/pkg/utils/redis.(*Sentinel).dispatch",
"File": "/usr/local/gopkg/src/github.com/CodisLabs/codis/pkg/utils/redis/sentinel.go",
"Line": 103
},
{
"Name": "github.com/CodisLabs/codis/pkg/utils/redis.(*Sentinel).monitorGroupsDispatch",
"File": "/usr/local/gopkg/src/github.com/CodisLabs/codis/pkg/utils/redis/sentinel.go",
"Line": 448
},
{
"Name": "github.com/CodisLabs/codis/pkg/utils/redis.(*Sentinel).MonitorGroups.func2",
"File": "/usr/local/gopkg/src/github.com/CodisLabs/codis/pkg/utils/redis/sentinel.go",
"Line": 505
}
]
}
```
请问是什么原因?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.