macneale4
aacfd0a673
[ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh
2023-11-21 02:46:35 +00:00
Neil Macneale IV
0780d4e496
Update tests for more descriptive messages
2023-11-20 18:39:42 -08:00
Neil Macneale IV
16a9dd80d4
Refactor to keep sql.Context out of interceptors.go
2023-11-20 18:39:35 -08:00
macneale4
a78a6d2008
[ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh
2023-11-18 01:19:05 +00:00
Neil Macneale IV
e11363a5c1
Activate skipped tests for fetch and pull
2023-11-17 17:07:38 -08:00
Neil Macneale IV
8e8335e9d4
Refactor Aaron's change in my voice
2023-11-17 14:54:17 -08:00
Aaron Son
311b54f3cc
dolt_fetch: Allow dolt fetch to work with username/password auth against a remotesapi.
...
When we migrated `dolt fetch` to use the SQL interface, we broke
username/password authentication for it. This change restores that
functionality.
Because `dolt fetch` can run against a SQL server, the semantics here are a bit
subtle. We pass along the `--user` parameter which is given to the `dolt fetch`
invocation. When the server sees a `--user` parameter in a `call dolt_fetch()`,
it consults its own process environment to pull out the password. In the common
case where `dolt fetch` is running against a SQL engine which is in the same
process, this means the `dolt fetch` invocations same the same.
2023-11-17 11:50:59 -08:00
Neil Macneale IV
477a1af160
Split Authentication and Authorization in the chunkstore API impl
2023-11-17 11:47:51 -08:00
stephanie
e7180e42a5
Merge pull request #7016 from dolthub/steph/cli-perf
...
Allow `dolt config` to run in folders without write permissions
2023-11-17 09:24:17 -08:00
Jason Fulghum
f5e0b0ff61
Merge pull request #7015 from dolthub/fulghum/bugfix
...
Update docs for merge's `--abort` param
2023-11-17 08:52:06 -08:00
Stephanie You
c6ea9725a7
minor updates
2023-11-16 17:48:00 -08:00
Stephanie You
0f5a26af3a
profile does not need write perms in current dir
2023-11-16 16:53:14 -08:00
Stephanie You
f37e231e7c
does not check write perms for config
2023-11-16 16:44:12 -08:00
Jason Fulghum
41f31eb8bf
Updating docs for --abort param; merge validates that the working set is clean before it will start a merge
2023-11-16 16:30:58 -08:00
Dustin Brown
76c2f4641b
[ga-bump-dep] Bump dependency in Dolt by jennifersp ( #7013 )
2023-11-16 14:07:03 -08:00
jennifersp
9cf62a54ab
fix panic on foreign key references dropped table for dolt diff ( #7008 )
2023-11-16 13:26:26 -08:00
Aaron Son
820686bc42
Merge pull request #7004 from dolthub/aaron/sql-server-startup-rigor
...
[no-release-notes] cmd/dolt/commands/sqlserver: Restructure the start up sequence for sql-server.
2023-11-16 10:23:46 -08:00
jennifersp
184a3175f1
[ga-bump-release] Update Dolt version to 1.27.0 and release v1.27.0
v1.27.0
2023-11-16 18:17:08 +00:00
jennifersp
8ea2847759
allow hyphen in db name to match its dir name ( #6995 )
2023-11-16 07:25:55 -08:00
Aaron Son
f1b915af43
go/libraries/utils/svcs: Controller: Change Stop so it can be called concurrently and multiple times and it never returns an error.
2023-11-15 13:34:25 -08:00
Aaron Son
cb4977a547
go/cmd/dolt/commands/sqlserver: server.go: Ensure we always close the mySQLServer instance, even if we never get to the service which is responsible for running it.
2023-11-15 12:29:44 -08:00
Aaron Son
ccb5cd131a
go/cmd/dolt/commands/sqlserver: Make sure to close listeners for remotesapi servers if we never get to the run step.
2023-11-15 11:58:04 -08:00
Aaron Son
a6c4815eee
go/cmd/dolt/commands/sqlserver: Experiment with Service as an interface instead of a struct. Experiment with ServiceState and more rigorous cleanup of some services.
2023-11-15 11:45:22 -08:00
Zach Musgrave
5eab70e370
Merge pull request #6994 from nustiueudinastea/concurrent-remotes-map
...
Concurrent remotes map
2023-11-15 11:10:59 -08:00
Aaron Son
bfac671d4a
go/cmd/dolt/commands/sqlserver: server.go: Small fix for scope of userSpecified variable in the InitSuperUser step.
2023-11-15 10:50:09 -08:00
Aaron Son
a9ea25e32c
go/cmd/dolt/commands/sqlserver: server.go: Lock the multienv repo before we init the sql server.
2023-11-15 10:29:07 -08:00
Aaron Son
58bd173904
go/cmd/dolt/commands/sqlserver: server.go: Change style to use named return for err in Init/Close lambdas.
2023-11-15 10:27:16 -08:00
Aaron Son
23dc3ed014
cmd/dolt/commands/sqlserver: Restructure the start up sequence for sql-server.
...
We explicitly model Services, which can have an Init step, a Run step and a
Stop step. Every registered service get initialized in the order they were
registered in, then they all run concurrently until Stop is called, when they
all get Stopped in reverse order. It's possible for clients to wait for init to
be completed and be delivered any errors encountered on startup. They can also
wait for stop, to be delivered any errors encountered on shutdown.
2023-11-14 16:58:55 -08:00
max-hoffman
0cc42b8440
[ga-bump-release] Update Dolt version to 1.26.1 and release v1.26.1
v1.26.1
2023-11-14 16:32:44 +00:00
Neil Macneale IV
fb0b896ad9
Print an error when server args don't validate ( #7003 )
2023-11-14 08:14:44 -08:00
Alex Giurgiu
fd89aa30b5
this should finish in a few seconds, so decreasing the timeout
2023-11-14 13:15:18 +02:00
Alex Giurgiu
5d86013710
made the engine race tests generic and added the race tests for the concurrent map
2023-11-14 13:10:40 +02:00
Alex Giurgiu
46fd1d3f8f
added tests for the concurrent map
2023-11-14 12:52:11 +02:00
Dustin Brown
bdea793e2a
[ga-bump-dep] Bump dependency in Dolt by max-hoffman ( #7002 )
...
Co-authored-by: max-hoffman <maximilian.wolfgang1@gmail.com >
2023-11-13 16:31:51 -08:00
Alex Giurgiu
21ad9fc098
corrent RepoState initialization in the environment test
2023-11-13 21:59:48 +02:00
Alex Giurgiu
9358062a67
method docs
2023-11-13 21:42:28 +02:00
Alex Giurgiu
01165c66a9
renamed concurrent Map Range to Iter. It's a more commonly used name for this functionality
2023-11-13 21:36:27 +02:00
Alex Giurgiu
d927344205
using the concurrentmap Map constructor in order to properly initialise the map everywhere it is used
2023-11-13 21:28:14 +02:00
Alex Giurgiu
3afc0b4449
custom json (un)marshaller for the concurrent map. Necessary for correct json (un)marshalling
2023-11-13 21:24:50 +02:00
Maximilian Hoffman
e0b2d36878
[no-release-notes]Stats bump ( #6997 )
...
* Get index statistics enginetests working w/ Dolt
* gms bump
* fix stats collecting, bump
* fix test build
2023-11-13 08:46:05 -08:00
Alex Giurgiu
fade899b6b
added copyright header
2023-11-12 12:38:14 +02:00
Zach Musgrave
b903f78428
Merge pull request #6974 from dolthub/zachmu/virtual-merge
...
Support merging schemas with virtual / generated columns
2023-11-10 21:56:46 -08:00
Aaron Son
81ec91d11c
Merge pull request #6996 from dolthub/aaron/sqle-cluster-commithook-shutdown-deadlock-fix
...
go: sqle: cluster: commithook: When shutting down the server, the cluster replication commithook could deadlock after the replication thread missed a wakeup signal.
2023-11-10 17:27:58 -08:00
zachmu
27d4c05be5
[ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh
2023-11-11 00:32:49 +00:00
Zach Musgrave
d26755805e
Always use a new sql context when parsing schemas
2023-11-10 16:22:20 -08:00
Zach Musgrave
64ea7fe269
PR feedback
2023-11-10 15:54:03 -08:00
Zach Musgrave
83542cc84d
Fixed fast forward flag in test results
2023-11-10 15:23:46 -08:00
Zach Musgrave
3122380244
Used sql.Context in more places it made sense
2023-11-10 15:06:59 -08:00
Aaron Son
0913c5eb8c
integration-tests/go-sql-server-driver: sql-server-cluster-users-and-grants.yaml: branch_control_block_on_write_replication: Add an assertion on a connection to server2 after the branch control perms replicate, to ensure we don't send the TERM signal to the server process at the end of the test before it is fully started up.
2023-11-10 15:03:50 -08:00
Zach Musgrave
d7af14c4a3
Better assertions for merge calls
2023-11-10 14:56:35 -08:00