Commit Graph

16957 Commits

Author SHA1 Message Date
Jason Fulghum
3dd93dcf50 Moved hardcoded TRACE loglevel from app code into test code 2023-01-25 16:19:50 -08:00
Jason Fulghum
2ef65c0fa4 Breaking out a replica applier type from the replica controller type 2023-01-25 16:18:10 -08:00
Jason Fulghum
f55f8714d2 go mod tidy 2023-01-24 11:07:19 -08:00
Jason Fulghum
2dfc7222fb Minor comment note 2023-01-23 17:20:48 -08:00
Jason Fulghum
7b96d0cc91 Unhardcoding the replica's server_id and loading it from @@GLOBAL.server_id instead; updated tests to set server_id and added a new test to cover server_id not set error case. 2023-01-23 17:06:41 -08:00
Jason Fulghum
6f2b140b3f Setting @@GLOBAL.gtid_executed on transaction commit 2023-01-23 16:18:10 -08:00
Jason Fulghum
e7259c62cd Finished first pass of all data types test, along with fixes for Decimal types and JSON types. 2023-01-23 15:56:34 -08:00
Jason Fulghum
4f381dc779 Moving alltypes test out to its own file 2023-01-19 13:26:06 -08:00
Jason Fulghum
05a859715a Removing use of old toString function 2023-01-19 13:21:56 -08:00
Jason Fulghum
bf5219f04c First pass on a framework to generate insert/update/deletes across all types. 2023-01-19 13:18:26 -08:00
Jason Fulghum
9264711660 Fixing merge issues and adding support for using the new integer replication option value. 2023-01-18 17:22:39 -08:00
Jason Fulghum
1c0bdf6562 Merge branch 'max/systab-to-commit-idx' into fulghum/binlog-replication 2023-01-18 17:18:16 -08:00
Max Hoffman
ecc46075ca fix copyright header 2023-01-18 17:09:06 -08:00
Jason Fulghum
5d471f24b9 Merge branch 'main' into fulghum/binlog-replication 2023-01-18 17:05:55 -08:00
Max Hoffman
90c84c5f49 fix non-determinism 2023-01-18 16:58:43 -08:00
Max Hoffman
15ca665ea6 Merge branch 'main' into max/systab-to-commit-idx 2023-01-18 16:52:36 -08:00
Max Hoffman
7a0c22ed3f Merge branch 'max/systab-to-commit-idx' of github.com:dolthub/dolt into max/systab-to-commit-idx 2023-01-18 16:20:57 -08:00
Max Hoffman
99e614b13b fix bats 2023-01-18 16:20:49 -08:00
Jason Fulghum
9e90ca163a Adding support for showing replica filter configuration in "SHOW REPLICA STATUS" and updated tests. 2023-01-18 16:00:33 -08:00
Andy Arthur
f22cfc6524 Merge branch 'main' of github.com:dolthub/dolt into main 2023-01-18 15:31:39 -08:00
Andy Arthur
62578ddc51 go/doltcore/branch_control: added serialization for BinlogRow 2023-01-18 15:31:31 -08:00
Jason Fulghum
4ba1e063a6 First pass at cleaning up replication option value handling. 2023-01-18 14:13:42 -08:00
max-hoffman
7a837a43c6 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2023-01-18 21:52:04 +00:00
Max Hoffman
441f13143c merge 2023-01-18 13:50:16 -08:00
Max Hoffman
02e5dd72dd shift validation burden to indexes 2023-01-18 13:49:19 -08:00
bheni
e4221c93db [ga-bump-release] Update Dolt version to 0.52.6 and release v0.52.6 v0.52.6 2023-01-18 20:42:02 +00:00
Brian Hendriks
3d9b9c5929 Merge pull request #5160 from dolthub/bh/log-append
change --out-and-err to append to existing file
2023-01-18 12:26:33 -08:00
Max Hoffman
02fea6aebe skip LD dolt scripts 2023-01-18 11:36:10 -08:00
max-hoffman
f78d596146 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2023-01-18 19:21:03 +00:00
Max Hoffman
2ec13c92ce Merge branch 'max/systab-to-commit-idx' of github.com:dolthub/dolt into max/systab-to-commit-idx 2023-01-18 11:19:48 -08:00
Max Hoffman
577f22598d skip LD system table indexing testt 2023-01-18 11:19:41 -08:00
Brian Hendriks
b418bd9368 change --out-and-err to append to existing file 2023-01-18 11:06:31 -08:00
max-hoffman
216321e249 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2023-01-18 18:56:59 +00:00
Max Hoffman
7797b00f13 Merge branch 'max/systab-to-commit-idx' of github.com:dolthub/dolt into max/systab-to-commit-idx 2023-01-18 10:53:10 -08:00
Dhruv Sringari
dbc5bdc230 Merge pull request #5157 from dolthub/dhruv/fix-fritter-bug
Fix `call DOLT_VERIFY_CONSTRAINTS()` false-positive
2023-01-18 10:49:36 -08:00
Max Hoffman
42b1397446 bad import 2023-01-18 10:47:27 -08:00
max-hoffman
3cabfc5aef [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2023-01-18 18:31:35 +00:00
Max Hoffman
2ca625d388 exclude ld 2023-01-18 10:30:05 -08:00
Max Hoffman
b3a3cba91a docstrings and bad hash tests 2023-01-18 09:55:27 -08:00
Max Hoffman
aa59d96252 Merge branch 'max/systab-to-commit-idx' of github.com:dolthub/dolt into max/systab-to-commit-idx 2023-01-18 09:37:31 -08:00
Max Hoffman
d993e05956 tidy 2023-01-18 09:37:22 -08:00
max-hoffman
a886def0c1 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2023-01-18 17:37:01 +00:00
Max Hoffman
b106c63e73 System table commit indexes 2023-01-18 09:35:29 -08:00
Brian Hendriks
230139fe1c Merge pull request #5156 from dolthub/bheni-9c1bf056
[auto-bump] [no-release-notes] dependency by bheni
2023-01-17 17:23:12 -08:00
Jason Fulghum
dfd597f951 Minor comment tweaks 2023-01-17 17:22:38 -08:00
Jason Fulghum
3d5bbea3ac Finishing up support for the doTables filtering option and adding tests 2023-01-17 17:19:22 -08:00
Jason Fulghum
0a65502cd7 Cleaning up flag handling for row events 2023-01-17 16:43:26 -08:00
Dhruv Sringari
2db5cf4db0 Fix call DOLT_VERIFY_CONSTRAINTS() false-positive
Fix for bug reported by Fritter in Discord.

Here's what happened:
- Parent table has a simple pk
- Child table has a compound pk of length 3
- The foreign key is a single int column. It is the first column in the child table's pk, and the only column of parent's pk.
- No additional indexes are defined because we can reuse the pk index.

If we reuse the pk index, we have some special case code that builds a fake index definition. The issue is that we happened to pass sorted tags of the pks, instead of the just the tags. We then use the index definition to prefix iter secondary indexes.

This issue would not appear if you got lucky with the tags of your columns. Specifically, the sorted tag order had to match the tag order. For tables with one pk, this is always the case, and for the test we have for two pks, we also happen to get lucky. Unfortunately, Fritter has three column compound pk and he did not get lucky.
2023-01-17 16:40:32 -08:00
bheni
0e47730146 [ga-bump-dep] Bump dependency in Dolt by bheni 2023-01-18 00:21:40 +00:00
Aaron Son
28321dd5a9 Merge pull request #5152 from dolthub/aaron/sqle-read-replica-no-remote-commit-fetch-for-new-remote-branches
go/libraries/doltcore/sqle/read_replica_database.go: Optimize the sql-server read replica case when syncing a lot of new branches.
2023-01-17 16:06:43 -08:00