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

replication mode: tune persist file timeout (#6669) #8774

Closed
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
4 changes: 4 additions & 0 deletions server/replication/replication_mode.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,12 @@
ReplicateFileToMember(ctx context.Context, member *pdpb.Member, name string, data []byte) error
}

<<<<<<< HEAD:server/replication/replication_mode.go

Check failure on line 64 in server/replication/replication_mode.go

View workflow job for this annotation

GitHub Actions / tso-function-test

syntax error: non-declaration statement outside function body
// DrStatusFile is the file name that stores the dr status.
const DrStatusFile = "DR_STATE"
=======

Check failure on line 67 in server/replication/replication_mode.go

View workflow job for this annotation

GitHub Actions / tso-function-test

syntax error: non-declaration statement outside function body
const drStatusFile = "DR_STATE"
>>>>>>> eed021d6d (replication mode: tune persist file timeout (#6669)):pkg/replication/replication_mode.go

Check failure on line 69 in server/replication/replication_mode.go

View workflow job for this annotation

GitHub Actions / tso-function-test

syntax error: non-declaration statement outside function body

Check failure on line 69 in server/replication/replication_mode.go

View workflow job for this annotation

GitHub Actions / tso-function-test

invalid character U+0023 '#'
const persistFileTimeout = time.Second * 3

// ModeManager is used to control how raft logs are synchronized between
Expand Down
Loading