Commit Graph

5044 Commits

Author SHA1 Message Date
Aaron Son bc8f712274 Merge remote-tracking branch 'origin/main' into aaron/sql-cluster-status-procedure 2022-09-29 10:10:41 -07:00
Aaron Son fbdfa0a62a Merge pull request #4422 from dolthub/aaron/cluster-replication-hook
go/libraries/doltcore/sqle: Implement standby replication hook.
2022-09-29 10:08:54 -07:00
James Cor e0bb97d9c7 Merge pull request #4318 from dolthub/james/conflicts
implement `call dolt_conflicts_resolve()`
2022-09-29 09:59:40 -07:00
Aaron Son b7d99556a9 Merge remote-tracking branch 'origin/main' into aaron/cluster-replication-hook 2022-09-29 09:51:54 -07:00
Aaron Son f48ffcf4cd go: sqle: cluster: PR feedback. 2022-09-29 09:50:52 -07:00
Aaron Son f2a43f1377 go: sqle: cluster: Add a dolt_cluster database, exposing a dolt_cluster_status table which queries replication status. 2022-09-28 16:01:22 -07:00
JCOR11599 f21b1c9c2c [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-09-28 22:35:59 +00:00
James Cor cbab3946c1 removing use of dEnv 2022-09-28 15:34:17 -07:00
James Cor 01332bb8c7 only making procedure version 2022-09-28 15:25:39 -07:00
jennifersp f99a1717c2 improve error message when current branch on session is force deleted (#4395) 2022-09-28 14:04:24 -07:00
James Cor 16a2ae75c2 row data 2022-09-28 13:40:00 -07:00
JCOR11599 b3af84be09 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-09-28 20:13:44 +00:00
James Cor dc18ebb1f5 adding foreign key checks 2022-09-28 13:12:09 -07:00
James Cor fea7fa876c more refactoring 2022-09-28 11:39:14 -07:00
James Cor da8246b942 copy pasta and refacta 2022-09-28 11:35:09 -07:00
James Cor d0546ffcdf feedbacK 2022-09-28 11:23:28 -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
James Cor b683820fc6 it now do the thing 2022-09-27 23:31:13 -07:00
Aaron Son fb4931678d go: sqle: cluster: Commit hooks can report replication lag. 2022-09-27 17:22:17 -07:00
James Cor 413ca59ec6 some changes, need to fix prolly conflicts to not remerge 2022-09-27 17:15:39 -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
JCOR11599 9760bd26e1 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-09-27 22:20:47 +00:00
James Cor 8ff785a3e3 i wonder what this will break 2022-09-27 15:19:19 -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
James Cor 6d51206676 more tests, and small keyless fix 2022-09-27 11:29:20 -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
James Cor 400999e064 Merge branch 'james/conflicts' of https://github.com/dolthub/dolt into james/conflicts 2022-09-27 00:59:36 -07:00
James Cor bf1de09adf rename to prolly 2022-09-27 00:59:28 -07:00
JCOR11599 3d2ea83dc9 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-09-27 07:23:52 +00:00
James Cor 26d0bc6dd1 working for noms, new format tomorrow :)))))) 2022-09-27 00:21:58 -07:00
James Cor a0f1d6fe32 i forget 2022-09-26 21:06:53 -07:00
jennifersp f4be51d692 reorder arguments of dolt_diff() table function (#4408) 2022-09-26 16:33:45 -07:00
JCOR11599 84526cdf65 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-09-26 23:06:20 +00:00
James Cor f1204c3814 keyless conflicts figured out probably, but i have denv anyway 2022-09-26 16:03:04 -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
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
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
James Cor 76d9eec826 Merge branch 'main' into james/conflicts 2022-09-26 10:03:11 -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
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