Commit Graph

2541 Commits

Author SHA1 Message Date
Aaron Son 1002a5d542 go: sqle: cluster: First pass at replicating branch control permissions. 2023-09-14 13:37:35 -07:00
Zach Musgrave 93aeb0c8cb Merge pull request #6635 from dolthub/zachmu/replication-force
Change default of replication pull to force
2023-09-12 15:11:16 -07:00
Stephanie You fc6ea6df92 fix formatting issue in status 2023-09-12 11:25:45 -07:00
Zach Musgrave 8aa8ebd337 Fix test 2023-09-12 10:19:30 -07:00
Zach Musgrave 39cf00505f Removed redundant tests left over from stored procedure migration 2023-09-12 10:12:57 -07:00
Zach Musgrave 3c3db5cb7a Making sure divergent head pulls aren't a fast-forward 2023-09-11 17:35:15 -07:00
Zach Musgrave d8ad69ea61 Dolt_pull() behavior and bats test 2023-09-11 16:59:44 -07:00
Zach Musgrave c398225c62 Bats tests for merging remote tracking branch 2023-09-11 16:33:06 -07:00
Zach Musgrave 6c16c58d98 updated bats 2023-09-08 17:49:50 -07:00
Stephanie You 8de06019b3 make multiple profiles work 2023-09-06 16:22:21 -07:00
Jason Fulghum 9e914e0262 Adding skips for BATS schema-conflict tests 2023-09-05 15:48:22 -07:00
Aaron Son 8021bc5f02 sqle: cluster: Set the engine to read-only when a replica is in standby mode. Set it back to read-write when it becomes primary.
This prevents standby replicas from running some DDL which they were previously
erroneously allowed to run, including CREATE USER, GRANT, CREATE DATABASE and
DROP DATABASE.
2023-09-01 10:47:23 -07:00
Jason Fulghum 0e29d45b5f Merge pull request #6598 from dolthub/fulghum/dolt-6528
Move storage format version to only be displayed with `dolt version --verbose`
2023-08-30 11:40:39 -07:00
Jason Fulghum ea4d7fd356 Making arg descriptions more consistent, and adding a test that asserts storage format is not displayed by default 2023-08-30 10:16:08 -07:00
dependabot[bot] e8452fd744 Bump gopkg.in/yaml.v3 in /integration-tests/transactions
Bumps gopkg.in/yaml.v3 from 3.0.0-20200313102051-9f266ea9e77c to 3.0.0.

---
updated-dependencies:
- dependency-name: gopkg.in/yaml.v3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-30 13:56:40 +00:00
stephanie 0dd50d9b7a Merge pull request #6568 from dolthub/steph/dolt-log
updates `dolt log` to use sql backend
2023-08-29 16:51:34 -07:00
Jason Fulghum 4c09863f14 Moving storage format info to only be displayed when a new --verbose/-v flag is specified 2023-08-29 15:41:03 -07:00
Stephanie You cdfabd2876 PR feedback 2023-08-29 14:35:24 -07:00
Jason Fulghum 8fa30cb4db Adding support for using '*' wildcards in @@replicate_heads 2023-08-29 13:29:56 -07:00
Stephanie You f7fd1c9824 enable log in remote bats tests 2023-08-28 15:51:37 -07:00
Stephanie You 84ce152367 PR feedback 2023-08-28 14:55:10 -07:00
Stephanie You 34a7cf5a5d allow table names with .. revisions in log.bats 2023-08-25 16:56:23 -07:00
Stephanie You 1b5e5e03cb update dolt log to support table names without the tables separator 2023-08-25 16:15:09 -07:00
Stephanie You 1adb0f7d1d remove remote log bats tests 2023-08-24 12:01:59 -07:00
Stephanie You f3f6558c8b fix tests using unmigrated cli commands 2023-08-23 15:37:01 -07:00
Jason Fulghum a532614edb Merge pull request #6570 from dolthub/fulghum/bugfix-2
Bug fix:  Correctly detect uncommitted changes for `dolt_pull` when roots have different feature versions
2023-08-23 13:45:33 -07:00
Neil Macneale IV 7618863b3c Merge pull request #6537 from Nithinps021/branch-param-to-global-args
Added the `--branch` parameter to Dolt global arguments on the command line.
2023-08-23 13:35:38 -07:00
James Cor 89d79f751d adding query-diff cli command (#6514)
* starting on reviving console command

* this does something

* working, definitely not jank

* simple same table diff working

* implementation for different tables

* remove old code

* adding tests and TODO

* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh

* working as a table function

* fix space

* better schema

* handle different schemas

* asdf

* bump

* bump

* bump

* point CLI to table function

* cleaning up code

* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh

* queries

* adding enginetests

* more test

* bats tests

* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh

* bump

* bump again

---------

Co-authored-by: James Cor <james@dolthub.com>
Co-authored-by: JCOR11599 <JCOR11599@users.noreply.github.com>
Co-authored-by: Max Hoffman <max@dolthub.com>
2023-08-23 13:11:59 -07:00
Jason Fulghum 58d08a203c Adding a BATS test for dolt_pull uncommitted changes error on different feature version 2023-08-23 12:04:58 -07:00
Stephanie You e2aec150a0 update tests using log as an unmigrated command 2023-08-23 11:01:09 -07:00
Stephanie You 735837fc3a update dolt log to support tables separator (--) 2023-08-23 10:53:59 -07:00
Stephanie You b3e1fef70b update dolt log to support --decorate option 2023-08-23 10:45:02 -07:00
Stephanie You 7c59e4aa66 simplify and remove unneeded log code 2023-08-23 10:45:02 -07:00
Stephanie You b35cd8dbcc consolidate print code between log and show 2023-08-23 10:45:02 -07:00
Stephanie You 0e0922b1e3 updates dolt log to use corresponding table function 2023-08-23 10:45:02 -07:00
Stephanie You 13b9ed897a updates dolt log to use sql backend 2023-08-23 10:45:02 -07:00
Neil Macneale IV 4b8e0ee614 Merge remote-tracking branch 'origin/main' into branch-flag 2023-08-23 10:00:56 -07:00
Neil Macneale IV 940cd181d0 Merge pull request #6531 : Empty Servers allow sql command to connect
WIth this change, starting sql-server will result in creating a .dolt/sql-server.lock file in the --data-dir (CWD by default). This file will be used for two purposes: 1) Ensuring another dolt sql-server is not started with the same data dir. 2) Allowing the dolt sql command to connect to it.
2023-08-22 16:12:51 -07:00
Aaron Son 48cf308d05 Merge pull request #6454 from dolthub/aaron/cluster-replication-users-and-grants
go/libraries/doltcore/sqle/cluster: Add replication of user and grant changes from primary to standby replicas.
2023-08-22 13:28:35 -07:00
Neil Macneale IV 79a2885579 PR Feedback - remove teardown call 2023-08-22 12:17:06 -07:00
Neil Macneale IV 899cc45edb Empty .dolt directories won't cause trouble for init and sql commands. 2023-08-22 12:12:37 -07:00
Nithin PS 7538ffd783 changed db1/b1 to db1 2023-08-22 17:23:30 +00:00
Neil Macneale IV 5e48317f90 Support single arg version of branch copy/move 2023-08-22 08:27:46 -07:00
Neil Macneale IV a505266208 Validate new branch name when moving and copying 2023-08-21 15:32:53 -07:00
Neil Macneale IV f88d26b6b3 Tests for empty branch creation output and rejecting bad branch names added. 2023-08-21 11:10:44 -07:00
Daylon Wilkins 9c212f60d2 Fixed bump 2023-08-21 01:27:52 -07:00
Neil Macneale IV 8034567916 Ensure that the --data-dir flag does what we expect it to 2023-08-18 14:46:31 -07:00
Neil Macneale IV 47b58258ef Two additional sql-server tests
Servers don't start where other servers are
`dolt sql` can connect to the empty server
2023-08-18 14:46:31 -07:00
Neil Macneale IV 74759c5e1b Simplify error message to fix test 2023-08-18 14:46:31 -07:00
Neil Macneale IV 65dcd39c3e Tests for the global --branch flag 2023-08-18 14:32:00 -07:00