Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ The interface definition looks like:
```go
// Durabler is the interface which is used to get the promotion rules for candidates and the semi sync setup
type Durabler interface {
promotionRule(*topodatapb.Tablet) promotionrule.CandidatePromotionRule
semiSyncAckers(*topodatapb.Tablet) int
isReplicaSemiSync(primary, replica *topodatapb.Tablet) bool
PromotionRule(*topodatapb.Tablet) promotionrule.CandidatePromotionRule
SemiSyncAckers(*topodatapb.Tablet) int
IsReplicaSemiSync(primary, replica *topodatapb.Tablet) bool
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ The interface definition looks like:
```go
// Durabler is the interface which is used to get the promotion rules for candidates and the semi sync setup
type Durabler interface {
promotionRule(*topodatapb.Tablet) promotionrule.CandidatePromotionRule
semiSyncAckers(*topodatapb.Tablet) int
isReplicaSemiSync(primary, replica *topodatapb.Tablet) bool
PromotionRule(*topodatapb.Tablet) promotionrule.CandidatePromotionRule
SemiSyncAckers(*topodatapb.Tablet) int
IsReplicaSemiSync(primary, replica *topodatapb.Tablet) bool
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ The interface definition looks like:
```go
// Durabler is the interface which is used to get the promotion rules for candidates and the semi sync setup
type Durabler interface {
promotionRule(*topodatapb.Tablet) promotionrule.CandidatePromotionRule
semiSyncAckers(*topodatapb.Tablet) int
isReplicaSemiSync(primary, replica *topodatapb.Tablet) bool
PromotionRule(*topodatapb.Tablet) promotionrule.CandidatePromotionRule
SemiSyncAckers(*topodatapb.Tablet) int
IsReplicaSemiSync(primary, replica *topodatapb.Tablet) bool
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ The interface definition looks like:
```go
// Durabler is the interface which is used to get the promotion rules for candidates and the semi sync setup
type Durabler interface {
promotionRule(*topodatapb.Tablet) promotionrule.CandidatePromotionRule
semiSyncAckers(*topodatapb.Tablet) int
isReplicaSemiSync(primary, replica *topodatapb.Tablet) bool
PromotionRule(*topodatapb.Tablet) promotionrule.CandidatePromotionRule
SemiSyncAckers(*topodatapb.Tablet) int
IsReplicaSemiSync(primary, replica *topodatapb.Tablet) bool
}
```

Expand Down