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

correct several wrong words #7822

Merged
merged 1 commit into from
Apr 14, 2021
Merged
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
6 changes: 3 additions & 3 deletions examples/are-you-alive/cmd/are-you-alive/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ func writeNextRecord(connectionString string) error {
// Check to see if this is a duplicate key error. We've seen this
// sometimes happen, and when it does this client app gets stuck in an
// infinite loop of failure to write a duplicate key. It's possible
// that happens because a write is succesful but something goes wrong
// before the client recieves a response, so the client thinks the write
// that happens because a write is successful but something goes wrong
// before the client receives a response, so the client thinks the write
// failed and does not increment the count.
//
// So when we specifically see a duplicate key error, assume that's what
Expand Down Expand Up @@ -98,7 +98,7 @@ func readRandomRecord(connectionString string) error {
// lag, so ignore the missing row if we are a replica.
// TODO: Should we attempt to roughly figure out replication lag in
// this client, at least to catch major failures? We could probably
// multiply delay by the difference betwen maxCount and the page we
// multiply delay by the difference between maxCount and the page we
// are trying to read to figure out how long ago the row we were
// trying to write was written.
if client.ParseTabletType(connectionString) == "replica" ||
Expand Down