26465 Commits

Author SHA1 Message Date
coffeegoddd 426950a261 [ga-bump-release] Update Dolt version to 1.53.1 and release v1.53.1 v1.53.1 2025-05-08 20:20:06 +00:00
Zach Musgrave ea17e6a275 Merge pull request #9179 from whosehang/main
refactor: replace map iteration with maps.Copy
2025-05-08 11:11:57 -07:00
Nathan Gabrielson 146479f739 Merge pull request #9186 from dolthub/nathan/nathanglobaloptions
Fix --branch global option always flagging error "no valid repository", fix bad error when running status on invalid branches
2025-05-07 16:50:45 -07:00
Aaron Son 57984b2b29 Merge pull request #9193 from dolthub/aaron/pull-tracker-panic-fix
go: store/datas/pull: puller.go: Fix incorrect location for Close call on PullChunkTracker.
2025-05-07 16:30:45 -07:00
Nathan Gabrielson badf4f5b99 Removed git checkout from test 2025-05-07 16:08:10 -07:00
Nathan Gabrielson cd5274fd43 cd into directory in test 2025-05-07 15:42:28 -07:00
Aaron Son 1c50976a8c Merge pull request #9192 from dolthub/aaron/gc-stats-block-on-runWorker-done-before-finalizing-gc
go: statspro: Make it possible for callers of StatsController.Stop() to block on the worker thread shutdown.
2025-05-07 15:27:14 -07:00
Nathan Gabrielson ca9df01851 status.go uses const flags, removed extraneous lines in test 2025-05-07 14:11:48 -07:00
Nathan Gabrielson 0a02b2397b Removed extraneous TODO 2025-05-07 14:11:48 -07:00
Aaron Son ab316ef390 go: store/datas/pull: puller.go: Fix incorrect location for Close call on PullChunkTracker.
When a pull or push failed with an error in a HasMany call or on the initiating
read of a set of chunks from the ChunkFetcher, the initiating goroutine used to
close the PullChunkTracker. However, the writes to the PullChunkTracker are
issued on the thread which reads and processes the chunks themselves. This
meant that it was possible for the PullChunkTracker to be Closed while that
thread was still issuing writes against it.

Making the chunk-reading thread responsible for the Close is more correct.

This fixes #9190.
2025-05-07 13:46:20 -07:00
reltuk 6f793e30a3 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2025-05-07 20:17:23 +00:00
Aaron Son fa7e2026fd go: statspro: Make it possible for callers of StatsController.Stop() to block on the worker thread shutdown.
Add pre-finalize blocking on the worker thread shutdown to dolt_gc safepoint controllers.

Add blocking on the worker thread shutdown to dolt_stats_stop(), so that a
caller knows that stats have actually stopped by the time it returns.
2025-05-07 13:08:34 -07:00
Maximilian Hoffman 657232082b [no-release-notes] add doltIndex stringer (#9183)
* [no-release-notes] map error race

* print index name not object

* protect doltIndex with stringer
2025-05-07 12:43:57 -07:00
Maximilian Hoffman 935e1746e6 [no-release-notes] add doltIndex stringer (#9183)
* [no-release-notes] map error race

* print index name not object

* protect doltIndex with stringer
2025-05-07 12:37:16 -07:00
NathanGabrielson cf6975ab0a [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2025-05-07 18:18:21 +00:00
Nathan Gabrielson eea7203a96 Fixed test & status command bug 2025-05-07 10:53:14 -07:00
Nathan Gabrielson 2a81373650 Tests 2025-05-07 09:35:24 -07:00
Nick Tobey 4a194f773a Merge pull request #9189 from dolthub/nicktobey-0362674f
[auto-bump] [no-release-notes] dependency by nicktobey
2025-05-06 12:25:10 -07:00
Nathan Gabrielson e320527b91 Added --branch tests 2025-05-06 11:57:18 -07:00
nicktobey 7d87341d27 [ga-bump-dep] Bump dependency in Dolt by nicktobey 2025-05-06 18:01:44 +00:00
Aaron Son 8c53ddbe99 Merge pull request #9181 from dolthub/aaron/rebase-on-pull-and-fetch
go: sqle/dprocedures: fetch,pull,push: Rebase the remote database before we interact with it.
2025-05-05 17:40:21 -07:00
Nathan Gabrielson f1bd895202 Call GetEnv on dbName without branch name 2025-05-05 17:14:28 -07:00
Aaron Son 501f174c43 go: sqle/dprocedures: dolt_{fetch,pull,push}: Improve error message when Rebase of the remote fails. 2025-05-05 16:31:49 -07:00
Aaron Son 48f26f3562 go: sqle/dprocedures: fetch,pull,push: Rebase the remote database before we interact with it.
We need to rebase a remote in order to see its latest changes.

Fixes #9164.
2025-05-05 12:15:52 -07:00
coffeegoddd eff4680297 [ga-bump-release] Update Dolt version to 1.53.0 and release v1.53.0 v1.53.0 2025-05-05 18:10:43 +00:00
Jason Fulghum 14ff0d54ab Merge pull request #9177 from dolthub/nicktobey-d41f7014
[auto-bump] [no-release-notes] dependency by nicktobey
2025-05-05 09:37:31 -07:00
whosehang ca2a994a34 refactor: replace map iteration with maps.Copy
Signed-off-by: whosehang <whosehang@outlook.com>
2025-05-03 09:30:02 +08:00
nicktobey 9e960ae88e [ga-bump-dep] Bump dependency in Dolt by nicktobey 2025-05-02 22:29:39 +00:00
Dustin Brown 178437bf65 [ga-bump-dep] Bump dependency in Dolt by jycor (#9174)
Co-authored-by: jycor <jcor@ucsd.edu>
2025-05-02 14:40:06 -07:00
Neil Macneale IV 6aa6e68d15 Merge pull request #9155 from meirdev/fix-status-command
fix status command after removing origin from remote
2025-05-02 09:13:06 -07:00
Nick Tobey 4ed48e87d6 Merge pull request #9120 from dolthub/nicktobey/bytearray
Consistently use pointer receiver for ByteArray.
2025-05-01 16:30:56 -07:00
Aaron Son 37e3c61de8 Merge pull request #9165 from dolthub/aaron/keymutex-small-fix
go: keymutex: Improve cleanup and refcnt implementation so that we can keep the mutexes map clean in more cases.
2025-05-01 16:17:00 -07:00
James Cor 887f368334 test for temporary tables in stored procedures (#9167) 2025-05-01 15:05:41 -07:00
Aaron Son 7dbfc0e2bc go: keymutex: Improve cleanup and refcnt implementation so that we can keep the mutexes map clean in more cases. 2025-05-01 10:32:56 -07:00
Meir 6018ff7410 use a remote directory instead of a server 2025-04-30 22:57:01 +03:00
Meir f5b102758a add an error to prevent future bugs with multiple remotes with the same name 2025-04-30 22:55:54 +03:00
James Cor 7a4709b1e0 [no-release-notes] bump stored procedure changes (#9114) 2025-04-30 12:34:26 -07:00
Jason Fulghum 1fa4dcfad6 Merge pull request #9159 from dolthub/fulghum-b9931b05
[auto-bump] [no-release-notes] dependency by fulghum
2025-04-29 09:32:55 -07:00
coffeegoddd 840f234bf5 [ga-bump-release] Update Dolt version to 1.52.3 and release v1.52.3 v1.52.3 2025-04-29 16:22:02 +00:00
Neil Macneale IV caba06c58a Merge pull request #9158 from dolthub/macneale4/merge-null-default
Fix NULL default bug when merging branches with different schemas
2025-04-29 08:47:50 -07:00
Jason Fulghum 3e38791f9c Merge branch 'main' into fulghum-b9931b05 2025-04-29 08:42:09 -07:00
Aaron Son 8165db2953 Merge pull request #9147 from dolthub/aaron/per-branch-transaction-commit-locks
go: sqle/dsess: Serialize transactions on a given database branch, instead of globally on all databases and all branches.
2025-04-28 19:14:29 -07:00
Neil Macneale IV 82fc5c94af Fix NULL default bug when merging branches with different schemas 2025-04-28 18:17:00 -07:00
Neil Macneale IV bdf9caf02e Merge pull request #9161 from dolthub/macneale4/python39
Upgrade mysql docker test to use python3.9
2025-04-28 18:16:19 -07:00
Neil Macneale IV bc4693ec8a python3.8 -> python3.9 everywhere 2025-04-28 17:16:12 -07:00
Neil Macneale IV 98b01bfdff Upgrade mysql docker test to use python3.9 2025-04-28 17:02:07 -07:00
fulghum 2b7b9a889b [ga-bump-dep] Bump dependency in Dolt by fulghum 2025-04-28 22:49:47 +00:00
Aaron Son aaafd336a7 go: libraries/utils/keymutex: PR feedback; id -> key. 2025-04-28 14:33:02 -07:00
Aaron Son 7662a05bca Merge remote-tracking branch 'origin/main' into aaron/per-branch-transaction-commit-locks 2025-04-28 13:36:29 -07:00
Meir Elbaz 90f34624c4 add test 2025-04-28 22:31:32 +03:00