Skip to content

Commit

Permalink
sqlcapture: Cursor replacement for production task
Browse files Browse the repository at this point in the history
A production task ran into trouble and needs its binlog cursor
manually adjusted. Ask Will or Dave for further context.

This is the same task we had to poke yesterday and I hadn't gotten
around to deleting the previous replacement, so just the specific
cursor values need to change this time.
  • Loading branch information
willdonnelly committed Nov 21, 2024
1 parent a2f8522 commit ffc9623
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sqlcapture/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -310,8 +310,8 @@ func (d *Driver) Pull(open *pc.Request_Open, stream *boilerplate.PullOutput) err
var hackyCursorReplacements = map[string]map[string]string{
"TASKHASH415b69936fe1324600d67943e50235fc57fb7e0196b8f5f0TASKHASH": {"binlog.000123:456789": "binlog.000123:456789"}, // Example

// Added 2024-11-20
"f976b2fd842a663be34d55f54bf0cabd9d85c4abf62d37345dc082b37ddd1d78": {"bin.064637:9322989": "bin.064610:4"},
// Added 2024-11-21
"f976b2fd842a663be34d55f54bf0cabd9d85c4abf62d37345dc082b37ddd1d78": {"bin.064767:104548992": "bin.064563:4"},
}
var hasher = sha256.New()
hasher.Write([]byte(open.Capture.Name))
Expand Down

0 comments on commit ffc9623

Please sign in to comment.