Commit Graph

26448 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Meir 0f19de102e fix status command after removing origin from remote 2025-04-27 06:25:42 +03:00
James Cor aecd7c4e77 add NUL character to string increment (#9153) 2025-04-26 01:07:54 -07:00
Aaron Son 5f03823b58 Merge pull request #9151 from dolthub/aaron/sql-ctx-cleanup
go: Thread Context a bit. Cleanup some uses of sql.NewContext.
2025-04-25 10:41:52 -07:00
Nick Tobey 94a11de82c Merge pull request #9142 from dolthub/nicktobey/create_commit
Add plumbing command for manually creating commit
2025-04-24 16:46:11 -07:00
Nick Tobey bab5647eeb CreateCommitCmd requires a repo. 2025-04-24 16:04:31 -07:00
Nick Tobey 19a54f6e04 Remove generateCreateCommitSQL 2025-04-24 15:58:08 -07:00
Dustin Brown 2b096a7a4b [ga-bump-dep] Bump dependency in Dolt by jycor (#9152)
Co-authored-by: jycor <jcor@ucsd.edu>
2025-04-24 15:20:59 -07:00
Nick Tobey 9ccd4837c9 Skip remote engine tests for dolt admin createchunk, since it's an admin command that accesses the storage directly. 2025-04-24 12:01:46 -07:00
Aaron Son abe1522d1d go: doltcore: sqle,env: Make RepoStateReader take a generic Context parameter for some parameters so that we can get rid of some unprincipled sql.NewContext uses. 2025-04-24 11:24:28 -07:00
coffeegoddd c3b3b7e988 [ga-bump-release] Update Dolt version to 1.52.2 and release v1.52.2 v1.52.2 2025-04-24 17:36:00 +00:00
Aaron Son fafae0cb69 go: doltdb: CommitItr: Make the context parameter generic; able to be *sql.Context or context.Context. 2025-04-23 16:41:16 -07:00
Jason Fulghum e6c48f54f7 Merge pull request #9148 from dolthub/fulghum-2d6449f7
[auto-bump] [no-release-notes] dependency by fulghum
2025-04-23 16:33:58 -07:00
Aaron Son 4bfade31bd go: doltcore/merge: Cleanup some sql.Context. 2025-04-23 16:23:23 -07:00
Jason Fulghum bcbcbc0588 Merge pull request #9141 from dolthub/fulghum/cursor_smoke_test
Add a smoke test for server-side cursor support
2025-04-23 15:54:25 -07:00
fulghum 7a5e6fd407 [ga-bump-dep] Bump dependency in Dolt by fulghum 2025-04-23 22:52:11 +00:00
Jason Fulghum ca9046a4f7 Merge branch 'main' into fulghum/cursor_smoke_test 2025-04-23 15:26:56 -07:00
Jason Fulghum ec76658df2 Merge pull request #9146 from dolthub/fulghum-9ea00e64
[auto-bump] [no-release-notes] dependency by fulghum
2025-04-23 15:26:16 -07:00