GTID and other go/mysql and vstreamer optimizations#18196
GTID and other go/mysql and vstreamer optimizations#18196shlomi-noach merged 18 commits intovitessio:mainfrom
go/mysql and vstreamer optimizations#18196Conversation
…ract sequence_number and last_transaction from binlog event Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
… in VEvent Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
…ract sequence_number and last_transaction from binlog event Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
- Handle PREVIOUS_GTIDS event - Use in-place GTID updates - Read commit parent (last_committed) and sequence_number from GTID event - Optimize use of time.Now() - Optimize generation of GTID Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Tests
Documentation
New flags
If a workflow is added or modified:
Backward compatibility
|
Co-authored-by: Arthur Schreiber <arthurschreiber@github.com> Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #18196 +/- ##
==========================================
+ Coverage 67.49% 67.52% +0.02%
==========================================
Files 1607 1607
Lines 263144 263324 +180
==========================================
+ Hits 177621 177805 +184
+ Misses 85523 85519 -4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
|
This PR is being marked as stale because it has been open for 30 days with no activity. To rectify, you may do any of the following:
If no action is taken within 7 days, this PR will be closed. |
|
This PR is being marked as stale because it has been open for 30 days with no activity. To rectify, you may do any of the following:
If no action is taken within 7 days, this PR will be closed. |
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Description
This is an extract from #17628. While working on #17628 we:
vstreamer.In this PR we have the following improvements:
go/mysqlPREVIOUS_GTIDSeventlast_committed(aka commit parent) andsequence_numberfrom GTID eventvstreamer.goPREVIOUS_GTIDSeventtime.Now()generation (same timestamp for GTID group)SequenceNumberandLastCommittedto all events.Related Issue(s)
#17628
Checklist
Deployment Notes