Commit Graph

25684 Commits

Author SHA1 Message Date
Nick Tobey
b1aa361eed Merge remote-tracking branch 'origin/main' into nicktobey/lazy-load 2025-01-30 15:21:30 -08:00
Dustin Brown
337671ae3c Merge pull request #8774 from dolthub/db/tags-3
/go/libraries/doltcore/env/actions: make iter resolved tags paginated sort in lexicographical order
2025-01-30 10:58:39 -08:00
Aaron Son
3dd50f534d Merge pull request #8796 from dolthub/aaron/gc-read-dependencies-oldgen-fixup
[no-release-notes] go/store/nbs: generational_chunk_store.go: In GCMode_Full, also take dependencies on chunks read from OldGen.
2025-01-30 10:19:16 -08:00
coffeegoddd
09dd814fd8 /go/libraries/doltcore/env/actions/tag.go: reinstage iterresolved tags for better deprecation process 2025-01-30 09:29:28 -08:00
coffeegoddd
cda466f022 /go/libraries/doltcore/env/actions: make iter resolved tags paginated, sort in lexicographical order 2025-01-29 14:52:59 -08:00
Nick Tobey
d27b998aaf prevent nil panic on DoltEnv::loadDBOnce 2025-01-29 11:31:15 -08:00
Daylon Wilkins
caaa4bd302 Merge pull request #8795 from dolthub/zachmu-3f5bb8c5
[auto-bump] [no-release-notes] dependency by zachmu
2025-01-28 23:29:12 -08:00
Aaron Son
c401029a75 Merge pull request #8794 from dolthub/aaron/sql-replication-session-lifecycle
[no-release-notes] go: binlogreplication: Add Session{{Begin,End}Command,End} lifecycle callbacks to the replica controller execution context session.
2025-01-28 14:55:12 -08:00
Aaron Son
1b594208aa go/store/nbs: generational_chunk_store.go: In GCMode_Full, also take dependencies on chunks read from OldGen. 2025-01-28 12:02:24 -08:00
Aaron Son
78e9a8a633 Merge pull request #8760 from dolthub/aaron/gc-read-dependencies
[no-release-notes] go/store/nbs: During a GC process, take dependencies on chunks that are read through the ChunkStore.
2025-01-28 12:02:07 -08:00
zachmu
4895747d11 [ga-bump-dep] Bump dependency in Dolt by zachmu 2025-01-28 18:30:59 +00:00
Aaron Son
89eb2afb7c go: cmd/dolt: sqlengine: Actually call DoltBinlogReplicaController.Close when closing the SqlEngine. 2025-01-27 17:57:35 -08:00
Aaron Son
003e2d1411 go: binlogreplication: Add Session{{Begin,End}Command,End} lifecycle callbacks to the replica controller execution context session.
This makes small clean ups to the lifecycle around replica applier and the
ownership and lifecycle of the mysql.Conn read connection.

This PR also includes some changes to slightly improve the performance and
reliability of the tests when running them locally. In particular, some of the
changes include:

1) Since `go run ./cmd/dolt` takes about four seconds to validate the existing
   cached build on my laptop, we just go ahead and use a cached build everywhere.

2) We use t.Log{f,} instead of fmt.Prin.. to improve the ergonomics of test
   running and getting output from a failure in particular.

3) We try to minimize global process state changes like unnecessary `os.Chdir`
   calls, since it would be nice to parallelize these tests eventually.

4) We get rid of the unused and seemingly unnecessary --socket= argument to
   Dolt, where we had to use a directory not corresponding to $TMPDIR, for
   example, because max pathlength on a sun_path on MacOS is 104 characters or
   whatever.
2025-01-27 17:46:24 -08:00
coffeegoddd
bde0bf9fe0 [ga-bump-release] Update Dolt version to 1.48.0 and release v1.48.0 v1.48.0 2025-01-28 00:01:37 +00:00
Neil Macneale IV
fad9c1db3d Merge pull request #8793 from dolthub/macneale4/dirty-branch-column
Add the `dirty` column to the dolt_branches table
2025-01-27 15:18:05 -08:00
Neil Macneale IV
da7bb5c934 Don't error out when no workingset is found 2025-01-27 14:28:11 -08:00
Neil Macneale IV
5bf564220c Fix workbench tests to expect dirty column 2025-01-27 13:50:18 -08:00
Nick Tobey
9b9722feec Avoid race conditions when loading dolt DB. 2025-01-27 12:22:16 -08:00
Nick Tobey
fdc79a5038 Merge remote-tracking branch 'origin/main' into nicktobey/lazy-load 2025-01-27 12:10:16 -08:00
macneale4
9da62ebc28 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2025-01-27 19:31:31 +00:00
Neil Macneale IV
809be27d65 Tests for the dolt_branches dirty column 2025-01-27 11:22:14 -08:00
Neil Macneale IV
2d3105eec0 Add the dirty column to the dolt_branches system table 2025-01-27 11:22:14 -08:00
Dustin Brown
b830fbc90c [ga-bump-dep] Bump dependency in Dolt by jycor (#8790)
Co-authored-by: jycor <jcor@ucsd.edu>
2025-01-27 10:53:58 -08:00
Nick Tobey
8b10e7fc9b Update bats tests to assert that you can't clone directly from another repo. 2025-01-24 20:31:45 -08:00
Nick Tobey
f78cc0d6b9 Merge remote-tracking branch 'origin/main' into nicktobey/lazy-load 2025-01-24 15:14:12 -08:00
Nick Tobey
e540affc25 Add context variable to tests. 2025-01-24 14:19:57 -08:00
coffeegoddd
7e5e325bbd [ga-bump-release] Update Dolt version to 1.47.2 and release v1.47.2 v1.47.2 2025-01-24 21:35:09 +00:00
Jason Fulghum
8a174329b6 Merge pull request #8789 from dolthub/fulghum/ci-bufix
[no-release-notes] Fixing a merge error that included the env section twice
2025-01-24 12:40:53 -08:00
Jason Fulghum
38a9d93b16 Merge pull request #8788 from dolthub/fulghum/bugfix
Bug fix: ref conflict can cause tags to be temporarily removed on a replica
2025-01-24 12:27:37 -08:00
Jason Fulghum
2a75563000 Fixing a merge error that included the env section twice 2025-01-24 12:24:05 -08:00
Jason Fulghum
95032b2744 Bug fix: fixing ref conflict case that can cause tags to be temporarily removed on a replica 2025-01-24 11:32:52 -08:00
Aaron Son
e75e9545a9 Merge pull request #8780 from dolthub/aaron/gc-safepoint-controller
go/store/types: Move to a safepoint controller which will allow a caller better control over when to take actions while the GC is running.
2025-01-23 17:03:23 -08:00
Nick Tobey
411b676af4 Respond to PR feedback. 2025-01-23 16:54:54 -08:00
James Cor
f19ceef83e better nil transaction checking for commits (#8787) 2025-01-23 16:42:45 -08:00
Aaron Son
a6ff95c252 repofmt.sh 2025-01-23 16:23:56 -08:00
Aaron Son
769086fe4c Merge remote-tracking branch 'origin/main' into aaron/gc-safepoint-controller 2025-01-23 16:23:06 -08:00
Aaron Son
25657eb4fd Merge pull request #8782 from dolthub/aaron/gc-finalizer-error-cleanup
[no-release-notes]: go/store/nbs: Improve cleanup if we encounter an error during GC.
2025-01-23 16:12:26 -08:00
Nick Tobey
7f0ca8c4c0 Respond to PR feedback. 2025-01-23 14:54:25 -08:00
Nick Tobey
d0fb77f7e2 Fixup tests. 2025-01-23 14:02:56 -08:00
Aaron Son
5c04d5fc63 go/store/nbs: store.go: Fix errgroup context usage-after-Wait bug in getManyWithFunc. 2025-01-23 13:38:48 -08:00
Nick Tobey
e568a66a19 Fix infinite recursion loop in DoltEnv.DoltDB() 2025-01-23 13:17:21 -08:00
Nick Tobey
849e5c0b67 Create context object for remote server main function. 2025-01-23 13:00:47 -08:00
Nick Tobey
d43ce7f159 Merge remote-tracking branch 'origin/main' into nicktobey/lazy-load 2025-01-23 12:47:34 -08:00
Nick Tobey
e89385dfe9 Add url parameter to LoadWithoutDB and remove LoadWithDeferredDB 2025-01-23 12:13:58 -08:00
James Cor
009ab9351c implement and test drop temporary table ... and show create table statements (#8781) 2025-01-23 01:11:47 -08:00
Nick Tobey
b6c233dbbb Remove explicit calls to dEnv.ReloadDB() from commands. 2025-01-23 00:34:30 -08:00
Nick Tobey
a963a8507b Don't load the database until we actually bind the queryist. 2025-01-23 00:13:39 -08:00
Nick Tobey
9c04d50a70 Remove explicit list of commands that not need to eagerly load the DB. 2025-01-23 00:01:04 -08:00
Nick Tobey
8dfadf90ee Propagate context. 2025-01-22 22:49:02 -08:00
Nick Tobey
1d4a82f0b7 Make dEnv.DoltDB private and add an accessor function. 2025-01-22 22:49:01 -08:00