Commit Graph

19262 Commits

Author SHA1 Message Date
Aaron Son
e1cb32e022 Merge remote-tracking branch 'origin/main' into aaron/block-on-cluster-replication 2023-05-15 15:04:44 -07:00
reltuk
05125426dc [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2023-05-15 21:26:49 +00:00
bheni
070b8d3c6a [ga-bump-release] Update Dolt version to 1.0.2 and release v1.0.2 v1.0.2 2023-05-15 21:25:05 +00:00
Aaron Son
a5358ff02d go: Catch some stragglers in _test files for an interface change. 2023-05-15 14:17:21 -07:00
Aaron Son
09eb9aaed5 go: sqle: cluster: Only close successChs when we are actually caught up. 2023-05-15 14:00:04 -07:00
Aaron Son
a886ab276a go: sqle: cluster: Add a circuit breaker for dolt_cluster_ack_writes_timeout_secs. Once a replica fails the timeout, do not block on it going forward. 2023-05-15 14:00:04 -07:00
Aaron Son
db9dce8e50 go: sqle: dsess/transactions: Turn replication failures into session warnings if dolt_cluster_ack_writes_timeout_secs is on. 2023-05-15 14:00:04 -07:00
Aaron Son
c1fedfc457 go/libraries/doltcore/sqle: dprocedures: dolt_branch: Make dolt branch operations (and some related operations, like dolt checkout) able to block on cluster replication. 2023-05-15 14:00:04 -07:00
Aaron Son
535e59141d integration-tests/go-sql-server-driver: Cluster, dolt_cluster_ack_writes_timeout_secs, add a failing test to assert that dolt_branch modifications are waited on. 2023-05-15 14:00:04 -07:00
Nick Tobey
d80f046f98 Merge pull request #5923 from dolthub/nicktobey/create-like
Prepend table name to auto-generated constraint check names.
2023-05-15 11:56:47 -07:00
reltuk
2e4107fe22 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2023-05-12 23:50:15 +00:00
Aaron Son
261b10c92b go: sqle: transactions,cluster: Move block-for-cluster-replication behavior to Dolt transaction logic and out of the commit hook. 2023-05-12 16:40:42 -07:00
Aaron Son
af966fa9fd Add ReplicationStatusController out parameter to some DoltDB write methods. 2023-05-12 16:13:15 -07:00
Nick Tobey
725b148a78 Update drop-create.bats to use new generated constraint name. 2023-05-12 12:18:19 -07:00
Nick Tobey
69216e0acd Merge branch 'main' of github.com:dolthub/dolt into nicktobey/create-like 2023-05-12 11:25:31 -07:00
AndyA
10e4053562 Merge pull request #5939 from dolthub/andy/storage-docs
[no-release-notes] go/{store, serial}: improve storage docs
2023-05-12 09:36:01 -07:00
Jason Fulghum
b96d027034 Merge pull request #5935 from dolthub/fulghum-6dca53c0
[auto-bump] [no-release-notes] dependency by fulghum
2023-05-11 17:00:37 -07:00
Brian Hendriks
365ce8d853 fix 2023-05-11 16:49:30 -07:00
Nick Tobey
2953275da9 Update tests. 2023-05-11 16:47:48 -07:00
AndyA
0fb56a6777 Merge pull request #5907 from dolthub/andy/validate-not-null
go/doltcore/merge: model NOT NULL constraint violations
2023-05-11 16:02:41 -07:00
Brian Hendriks
b37d32446a Merge pull request #5913 from dolthub/bh/replication-metrics
Bh/replication metrics
2023-05-11 15:59:47 -07:00
Andy Arthur
6516432947 go/store/prolly/tree: make cursor pkg private 2023-05-11 15:57:19 -07:00
Andy Arthur
08d7520073 go/store/prolly: cleanup todos, remove error from cursor.isLeaf 2023-05-11 15:54:21 -07:00
Aaron Son
dfdb4a4b2a go: sqle: cluster: Implement a first pass at dolt_cluster_ack_writes_timeout_secs.
Setting this system variable to a non-zero value on a primary replica in a
sql-server cluster will cause dolt to block a SQL client performing a commit
until that client's commit is fully replicated to the replicas.

If there is a timeout, currently a warning is logged in the logs.
2023-05-11 15:50:43 -07:00
Andy Arthur
2caab10014 go/serial: improve comment docs for flatbuffers defs 2023-05-11 15:34:57 -07:00
Andy Arthur
a7ff41c526 go/store/val: improve doc comments, remove todos 2023-05-11 15:24:27 -07:00
fulghum
7acaeb2df1 [ga-bump-dep] Bump dependency in Dolt by fulghum 2023-05-11 21:56:58 +00:00
Andy Arthur
4ce8f8c37e go/libraries/doltcore/merge: fix non-deterministic map iteration in schema merge column mapping 2023-05-11 14:28:31 -07:00
Brian Hendriks
e75f6408cb nil check 2023-05-11 14:17:12 -07:00
Andy Arthur
2fa52271dc Merge remote-tracking branch 'origin/main' into andy/validate-not-null 2023-05-11 13:49:25 -07:00
Brian Hendriks
8e0ccdc359 Merge remote-tracking branch 'remotes/origin/main' into bh/replication-metrics 2023-05-11 13:23:39 -07:00
Jason Fulghum
f290614b3d Merge pull request #5922 from dolthub/fulghum/schema-merge
Changing schema equality to not consider tag when comparing columns
2023-05-11 12:58:00 -07:00
Andy Arthur
094919fecd go/doltcore/sqle: pr feedback 2023-05-11 11:43:43 -07:00
max-hoffman
1c1db7a62e [ga-bump-release] Update Dolt version to 1.0.1 and release v1.0.1 v1.0.1 2023-05-11 17:29:10 +00:00
Aaron Son
cdbd45864a Merge pull request #5921 from dolthub/aaron/parallelize-commit-hook-invocation
go: doltdb: hooksdatabase.go: Execute commit hooks in parallel so that synchronous commit hooks do not serialize on each other.
2023-05-11 10:28:01 -07:00
Aaron Son
4c0f974a28 Merge pull request #5919 from dolthub/aaron/sql-dolt_log_level-variable
sql-server: `dolt_log_level` system variable allows reading the current log level for the server and setting a new one.
2023-05-11 10:27:43 -07:00
Jason Fulghum
da44204f58 Pulling out tag related checks in test 2023-05-11 10:27:39 -07:00
Dustin Brown
e8dc92e435 [ga-bump-dep] Bump dependency in Dolt by max-hoffman (#5927)
Co-authored-by: max-hoffman <maximilian.wolfgang1@gmail.com>
2023-05-11 10:19:39 -07:00
Maximilian Hoffman
c3660a1d0c bump gms (#5926) 2023-05-11 10:18:01 -07:00
Brian Hendriks
a9659b7e09 Merge branch 'bh/replication-metrics' of github.com:liquidata-inc/dolt into bh/replication-metrics 2023-05-10 23:40:08 -07:00
Brian Hendriks
ccee53e2ed Merge remote-tracking branch 'remotes/origin/main' into bh/replication-metrics 2023-05-10 23:39:51 -07:00
Nick Tobey
ac1e43774c Merge pull request #5918 from dolthub/nicktobey/callforhelp
Remove cry for help from `dolt sql --help`
2023-05-10 23:05:29 -07:00
Nick Tobey
68f6d036ba Remove print debugging. 2023-05-10 16:15:20 -07:00
Andy Arthur
d847360467 go/doltcore/merge: skip nullability tests on NBF __LD_1__ 2023-05-10 16:14:03 -07:00
Nick Tobey
abad9bc585 Use bats tests to verify dolt stash --help 2023-05-10 16:12:48 -07:00
Nick Tobey
865c08531a Delay format check used in dolt stash until after args parsing, in case --help is being passed. 2023-05-10 16:10:51 -07:00
Jason Fulghum
8f8e05c674 Changing schema equality to not consider tag when comparing columns 2023-05-10 16:04:52 -07:00
Andy Arthur
1186d6de80 go/doltcore/merge: register not null constraint violations for left-side NULLs 2023-05-10 15:58:57 -07:00
Nick Tobey
ab6152c4f3 Fix bats test that verifies the behavior of --help 2023-05-10 15:49:48 -07:00
Aaron Son
05a5dcb5a4 go: doltdb: hooksdatabase.go: Execute commit hooks in parallel so that synchronous commit hooks do not serialize on each other. 2023-05-10 15:35:30 -07:00