Commit Graph

15317 Commits

Author SHA1 Message Date
Aaron Son
f48ffcf4cd go: sqle: cluster: PR feedback. 2022-09-29 09:50:52 -07:00
Aaron Son
3c12698f09 Merge remote-tracking branch 'origin/main' into aaron/cluster-replication-hook 2022-09-28 10:49:39 -07:00
jennifersp
4565f37da2 turn off opt-in feature for unix socket (#4413) 2022-09-28 10:28:01 -07:00
Aaron Son
61883f6d2d go: sqle: cluster: Install client interceptor to communicate and process role and epoch when making RPCs to standby. 2022-09-28 10:14:26 -07:00
andrew-wm-arthur
b968a5260a [ga-bump-release] Update Dolt version to 0.41.6 and release v0.41.6 v0.41.6 2022-09-28 00:23:09 +00:00
Aaron Son
fb4931678d go: sqle: cluster: Commit hooks can report replication lag. 2022-09-27 17:22:17 -07:00
AndyA
5cf939c7c4 Merge pull request #4418 from dolthub/max-hoffman-8b178aa5
[auto-bump] [no-release-notes] dependency by max-hoffman
2022-09-27 17:14:01 -07:00
Aaron Son
36d6583ac1 Godeps/LICENSES: Update. 2022-09-27 17:03:13 -07:00
Aaron Son
d29c8f4512 Merge remote-tracking branch 'origin/main' into aaron/cluster-replication-hook 2022-09-27 17:02:09 -07:00
Aaron Son
a85597c146 go: sqle: cluster: fix replication to work on working set updates. first bats test for end-to-end replication to the standby. 2022-09-27 17:01:21 -07:00
max-hoffman
89ac8b1d7d [ga-bump-dep] Bump dependency in Dolt by max-hoffman 2022-09-27 22:25:13 +00:00
Aaron Son
c0d0e143bb bats: sql-server-cluster: Add bats test for server failing to start if a local database is missing the standby remote. 2022-09-27 14:52:45 -07:00
Aaron Son
98f4321ec8 go: sqle: cluster: Add logging to our replication commit hook. Make the commit hook attempt to true-up standby on shutdown. 2022-09-27 14:46:38 -07:00
Aaron Son
e648d9bceb go/libraries/doltcore/remotestorage: Migrate to backoff/v4, fix some misusage of the backoff API. 2022-09-27 14:45:57 -07:00
jennifersp
a1e57989bb allow drop current database directory and fix drop db with '-' (#4400) 2022-09-27 11:45:07 -07:00
Aaron Son
4261b3692e go: sqle: cluster: First pass at install replicate-to-standby commit hooks on server start. 2022-09-27 09:53:34 -07:00
jennifersp
f4be51d692 reorder arguments of dolt_diff() table function (#4408) 2022-09-26 16:33:45 -07:00
AndyA
7ba66fdc76 Merge pull request #4401 from dolthub/andy/mysql-validator
go/commands: Add sql-server option for validating query results against a MySQL instance
2022-09-26 14:24:43 -07:00
andrew-wm-arthur
fdb4c85241 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-09-26 20:31:19 +00:00
Andy Arthur
f7aab78e4e Merge remote-tracking branch 'origin/main' into andy/mysql-validator 2022-09-26 13:22:19 -07:00
Jason Fulghum
7c413b965c Merge pull request #4268 from xujihui1985/feat/support-aliyun-oss-store
New feature: support Aliyun OSS store
2022-09-26 13:06:18 -07:00
andrew-wm-arthur
c20bae1d9d [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-09-26 18:54:20 +00:00
Andy Arthur
ec3cdfa783 pickup GMS changes 2022-09-26 11:52:49 -07:00
Aaron Son
e23f7e78e6 go: sqle: In cluster mode, create the replication commit hooks when we create a database. 2022-09-26 11:04:13 -07:00
jennifersp
691997b87a support dolt_diff_summary_table_function (#4363) 2022-09-26 09:48:58 -07:00
AngrySean
a121de3724 Merge branch 'main' into feat/support-aliyun-oss-store 2022-09-25 09:05:56 +08:00
Aaron Son
64029df56b go: sqle: database_provider: In cluster mode, create the standby remote when we create a database. 2022-09-23 15:04:42 -07:00
andrew-wm-arthur
2668fe9ae6 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-09-23 20:57:04 +00:00
Andy Arthur
67e3966ad3 Merge remote-tracking branch 'origin/main' into andy/mysql-validator 2022-09-23 13:54:32 -07:00
Andy Arthur
1c42b955ee pickup GMS changes, add CLI override option 2022-09-23 13:51:28 -07:00
James Cor
c05244936a Merge pull request #4399 from dolthub/james/bindvars
adding prepared tests for dolt stored procedures
2022-09-23 12:35:41 -07:00
Aaron Son
ba6a9825f1 remotesrv,cluster: Install the cluster server interceptor on the cluster remotesrv server. 2022-09-23 12:12:11 -07:00
Aaron Son
30c265869e go: sqle/cluster: First pass at client and server interceptors which will help coordinate cluster role for a given server. 2022-09-23 11:47:30 -07:00
Aaron Son
e01f7aa7d7 Merge pull request #4394 from dolthub/aaron/sql-variables-cluster-role-and-epoch
sql-server: Implement dolt_cluster_role, dolt_cluster_role_epoch variables, dolt_assume_cluster_role procedure.
2022-09-23 11:44:55 -07:00
James Cor
ae89e8e08d i am good at counting 2022-09-23 10:26:23 -07:00
James Cor
1688eca1cc this number is right 2022-09-23 10:19:34 -07:00
James Cor
089b552799 updating prepareds count 2022-09-23 10:14:44 -07:00
James Cor
b9feb14941 adding test 2022-09-22 16:35:42 -07:00
James Cor
74472cc162 Merge pull request #4397 from dolthub/james/geom
print spatial types as hex in shells only
2022-09-22 16:24:15 -07:00
Dustin Brown
3c937aefb2 [ga-bump-dep] Bump dependency in Dolt by JCOR11599 (#4398)
Co-authored-by: JCOR11599 <jcor@ucsd.edu>
2022-09-22 16:19:24 -07:00
James Cor
fc2e07ed6b fixing test 2022-09-22 16:16:46 -07:00
James Cor
ba4f8c6e33 simpler 2022-09-22 14:58:08 -07:00
Aaron Son
d2d938e18d sql-server: cluster: Run the cluster remotesapi server in read-write mode. 2022-09-22 14:48:02 -07:00
James Cor
e034896202 print spatial types as hex in shells only 2022-09-22 14:35:07 -07:00
reltuk
9611b480e8 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-09-22 18:57:38 +00:00
Aaron Son
09bed9471d sql-server: Add dolt_assume_cluster_role procedure.
Currently implements rules around epoch changes and updates the persisted and
global session variables.
2022-09-22 11:53:15 -07:00
Aaron Son
13e8cab325 sql-server: Add read-only handling for cluster role and role_epoch system variables. 2022-09-22 10:04:32 -07:00
Zach Musgrave
aa521524a2 Merge pull request #4389 from dolthub/zachmu/dolt-commit-race
Fix race for concurrent dolt_commit calls
2022-09-22 09:23:50 -07:00
Zach Musgrave
8f88f5ee0f Update go/store/datas/database_common.go
Co-authored-by: Aaron Son <aaron@dolthub.com>
2022-09-22 09:20:59 -07:00
Aaron Son
0fa72230b9 Merge pull request #4388 from dolthub/reltuk-fb93b54a
[auto-bump] [no-release-notes] dependency by reltuk
2022-09-22 08:52:19 -07:00