Skip to content

Commit cf5ed04

Browse files
committed
Add slave nodes into cluster state only when its replication is completed
1 parent 8933e85 commit cf5ed04

File tree

94 files changed

+171
-124
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+171
-124
lines changed

bench_decode_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"testing"
99
"time"
1010

11-
"github.com/redis/go-redis/v9/internal/proto"
11+
"github.com/p1cn/go-redis/v9/internal/proto"
1212
)
1313

1414
var ctx = context.TODO()

bench_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"testing"
1111
"time"
1212

13-
"github.com/redis/go-redis/v9"
13+
"github.com/p1cn/go-redis/v9"
1414
)
1515

1616
func benchmarkRedisClient(ctx context.Context, poolSize int) *redis.Client {

bitmap_commands_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package redis_test
33
import (
44
. "github.com/bsm/ginkgo/v2"
55
. "github.com/bsm/gomega"
6-
"github.com/redis/go-redis/v9"
6+
"github.com/p1cn/go-redis/v9"
77
)
88

99
type bitCountExpected struct {

command.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ import (
1111
"sync"
1212
"time"
1313

14-
"github.com/redis/go-redis/v9/internal"
15-
"github.com/redis/go-redis/v9/internal/hscan"
16-
"github.com/redis/go-redis/v9/internal/proto"
17-
"github.com/redis/go-redis/v9/internal/util"
14+
"github.com/p1cn/go-redis/v9/internal"
15+
"github.com/p1cn/go-redis/v9/internal/hscan"
16+
"github.com/p1cn/go-redis/v9/internal/proto"
17+
"github.com/p1cn/go-redis/v9/internal/util"
1818
)
1919

2020
type Cmder interface {

command_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"errors"
55
"time"
66

7-
"github.com/redis/go-redis/v9"
7+
"github.com/p1cn/go-redis/v9"
88

99
. "github.com/bsm/ginkgo/v2"
1010
. "github.com/bsm/gomega"

commands.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"strings"
1313
"time"
1414

15-
"github.com/redis/go-redis/v9/internal"
15+
"github.com/p1cn/go-redis/v9/internal"
1616
)
1717

1818
// KeepTTL is a Redis KEEPTTL option to keep existing TTL, it requires your redis-server version >= 6.0,

commands_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import (
1111
. "github.com/bsm/ginkgo/v2"
1212
. "github.com/bsm/gomega"
1313

14-
"github.com/redis/go-redis/v9"
15-
"github.com/redis/go-redis/v9/internal/proto"
14+
"github.com/p1cn/go-redis/v9"
15+
"github.com/p1cn/go-redis/v9/internal/proto"
1616
)
1717

1818
type TimeValue struct {

doctests/bf_tutorial_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"context"
77
"fmt"
88

9-
"github.com/redis/go-redis/v9"
9+
"github.com/p1cn/go-redis/v9"
1010
)
1111

1212
// HIDE_END

doctests/bitfield_tutorial_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"context"
77
"fmt"
88

9-
"github.com/redis/go-redis/v9"
9+
"github.com/p1cn/go-redis/v9"
1010
)
1111

1212
// HIDE_END

doctests/bitmap_tutorial_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"context"
77
"fmt"
88

9-
"github.com/redis/go-redis/v9"
9+
"github.com/p1cn/go-redis/v9"
1010
)
1111

1212
// HIDE_END

0 commit comments

Comments
 (0)