Commit 7fbb069
feat: Add Debezium-style Snapshot for Initial Data Capture (#37)
* feat: add snapshot feature like debezium for initial data
* chore: lint
* feat: multiple instance and table snapshot (#38)
* feat: distirbuted snapshot support (wip)
* refactor: file paths for snapshot
* feat: snapshot lsn cdc integration
* feat: add retry to the all snapshot db operation
* feat: add example test plan etc
* chore: wip
* chore: wip
* feat: first test successful
* feat: log update
* feat: some testing updates
* feat: fix snapshot conn close issue and advisory lock release issue when testing multiple instance
* feat: worker transaction wrap and retry
* feat: snapshot divide (prepare, execute), lsn slot cdc avoid data loss
* feat: refactor ^^
* feat: refactor worker side, fix basic bug
* feat: waitForCoordinator refactor, remove workerConn
* feat: review notes
* feat: add 2 integration test and documentation, fix estimate count and increase coordinator wait timeout
* feat: add 4 integration test and increase wal sender, max slot
* feat: refactor snapshot tests
* feat: linter error
* feat: refactor isTransient error method
* chore: fix import
* chore: fix import
* refactor: time format
* refactor: disable timeout when opening snapshot conn for exporting
* refactor: add keep alive select 1 for snapshot conn
* feat: change create table if not exist logic for permission problems
* chore: no lint fun len
* feat: publication table exist or not support in snapshot
* feat: extract replication and normal connections because of preventing max wal sender limit
* feat: graceful shutdown snapshot conn
* feat: coordinator failure worker suspend fix
* chore: remove unused vars
* chore: fix lint
* chore: fix lint
* chore: funlen change
* feat: add snapshot only feature
* chore: docs ref
* feat: introduce snapshot tables field
* chore: fix lint
* chore: benchmark files of snapshot mode
* chore: update benchmark build
* feat: add initial benchmark test
---------
Co-authored-by: Serhat Karabulut <serhat.karabulut@trendyolgo.com>
* chore: benchmark initial updated, grafana etc.
* refactor: performance improvements
* chore: log
* chore: benchmark initial multistage
* chore: mem upgrade for debezium
* add pk cache and limit offset integration etc
* chore: fix lint
* chore: benchmark added
* chore: docs
* chore: docs
---------
Co-authored-by: Serhat Karabulut <serhat.karabulut@trendyolgo.com>1 parent 418a96f commit 7fbb069
File tree
84 files changed
+16697
-54
lines changed- benchmark
- benchmark_cdc
- go-pq-cdc-kafka
- grafana
- dashboards
- sql
- benchmark_initial
- go-pq-cdc-kafka
- grafana
- dashboards
- sql
- config
- docs
- example
- snapshotmode
- snapshotonlymode
- integration_test
- internal
- http
- metric
- pq
- message/format
- publication
- replication
- snapshot
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
84 files changed
+16697
-54
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
10 | 24 | | |
11 | 25 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
21 | 39 | | |
22 | 40 | | |
23 | 41 | | |
| |||
114 | 132 | | |
115 | 133 | | |
116 | 134 | | |
| 135 | + | |
| 136 | + | |
117 | 137 | | |
118 | 138 | | |
119 | 139 | | |
| |||
154 | 174 | | |
155 | 175 | | |
156 | 176 | | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
157 | 184 | | |
158 | 185 | | |
159 | 186 | | |
| |||
181 | 208 | | |
182 | 209 | | |
183 | 210 | | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
184 | 217 | | |
185 | 218 | | |
186 | 219 | | |
| |||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments