Commit Graph

26550 Commits

Author SHA1 Message Date
macneale4 46cd952841 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2025-05-27 23:00:28 +00:00
Neil Macneale IV cace617fc1 Fix remote tracking cleanup when removing remotes
When removing a remote via 'dolt remote remove', the remote refs and
remote entry were properly cleaned up, but branch configurations that
tracked the removed remote were not updated. This caused 'dolt status'
to still show tracking information for the removed remote.

The fix adds logic to the dolt_remote SQL procedure to:
1. Find all branch configurations that reference the removed remote
2. Update those configurations to clear the remote field while
   preserving the head reference
3. Then proceed with the normal remote removal

This ensures that after removing a remote, branches no longer show
tracking status for the non-existent remote.

Fixes #9169

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-27 15:48:42 -07:00
Neil Macneale IV 702f7f34a2 Add test to reproduce remote tracking cleanup issue
This test reproduces GitHub issue #9169 where removing a remote
does not properly clean up branch tracking information. After
'dolt remote remove origin', the status still shows tracking
references to the removed remote.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-27 15:11:49 -07:00
Nick Tobey c5be7d39bc Merge pull request #9251 from dolthub/nicktobey/fmt
Fix issue dumping BLOB columns to SQL
2025-05-27 14:05:15 -07:00
Tim Sehn e4da223671 Merge pull request #9247 from dolthub/tim/fix-diff-stat-r-rql
Made dolt diff --stat -r sql an error
2025-05-27 12:07:52 -07:00
Nick Tobey 9d03a4aa35 Allow dumping adaptive encoding types to SQL 2025-05-27 12:03:49 -07:00
Tim Sehn d37b21bf73 James feedback 2025-05-27 09:04:22 -07:00
Tim Sehn 0d2a40e70f Made dolt diff --stat -r sql an error 2025-05-23 15:25:49 -07:00
James Cor b4249fe908 manual bump (#9243)
Co-authored-by: James Cor <james@dolthub.com>
2025-05-23 14:47:37 -07:00
jennifersp 460c878e64 Merge pull request #9244 from dolthub/jennifer/maven
update maven for ORM tests
2025-05-23 14:42:42 -07:00
jennifersp 35f5d07692 update maven for ORM tests 2025-05-23 14:07:09 -07:00
Nathan Gabrielson b3cdeaa09a Merge pull request #9237 from dolthub/nathan/sql-shell-warnings
Sql shell warnings
2025-05-22 13:47:47 -07:00
Nathan Gabrielson 8fe1eb9b8e Bats tags type 2025-05-22 13:08:07 -07:00
Nathan Gabrielson 7e41e2ddc6 Remove echo 2025-05-22 13:01:30 -07:00
Nathan Gabrielson 46ecdac992 Testing changes 2025-05-22 13:00:41 -07:00
Nathan Gabrielson 98d9763e7e Reviewed code 2025-05-22 11:51:31 -07:00
Nathan Gabrielson 21f9b40e8b Only query show warnings with shell 2025-05-22 09:58:24 -07:00
Jason Fulghum c6ea8c2b81 Merge pull request #9235 from dolthub/fulghum/error-msg
Log errors on a binlog connection
2025-05-21 09:25:06 -07:00
Nathan Gabrielson d19d7ace1b Removed extraneous commit 2025-05-21 09:04:33 -07:00
jennifersp 0f59ebe512 Merge pull request #9238 from dolthub/jennifersp-b56c7c6e
[auto-bump] [no-release-notes] dependency by jennifersp
2025-05-20 19:04:36 -07:00
jennifersp 52392dafd7 [ga-bump-dep] Bump dependency in Dolt by jennifersp 2025-05-21 01:23:23 +00:00
Nathan Gabrielson 38156e2b13 Fixes and small changes 2025-05-20 17:07:17 -07:00
Nathan Gabrielson ecc7c9b452 Use lock_warnings session var 2025-05-20 17:07:17 -07:00
Nathan Gabrielson 63cd80ca34 Error handling 2025-05-20 17:07:17 -07:00
Nathan Gabrielson 36f9b66a0e Improved testing, renamed vars 2025-05-20 17:07:17 -07:00
Nathan Gabrielson d31bee5a94 test updates 2025-05-20 17:07:17 -07:00
Nathan Gabrielson 13c41b6950 Reworked the rowiter used when running server + shell 2025-05-20 17:07:17 -07:00
Nathan Gabrielson 9d5a5759c0 Color outside stringf 2025-05-20 17:07:17 -07:00
NathanGabrielson 3f6a6168a3 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2025-05-20 17:07:17 -07:00
Nathan Gabrielson e3a6642f76 Edit command help page 2025-05-20 17:07:17 -07:00
Nathan Gabrielson 47f4d5207f Colors and help information 2025-05-20 17:07:17 -07:00
Nathan Gabrielson 0d40c874e4 Code cleanup, string formatting 2025-05-20 17:07:17 -07:00
Nathan Gabrielson 74da7095a9 Tests for sql-shell warnings 2025-05-20 17:07:17 -07:00
Nathan Gabrielson 3fe3603d92 Improve command structure, fix bugs 2025-05-20 17:07:17 -07:00
Nathan Gabrielson c933c5453c Update parameters, add \W & \w shell commmands 2025-05-20 17:07:17 -07:00
Nathan Gabrielson 3aa1d67716 Cleanup 2025-05-20 17:07:17 -07:00
Nathan Gabrielson 41713f82bc Print detected warnings 2025-05-20 17:07:17 -07:00
Nathan Gabrielson e80a8fb353 Merge pull request #9234 from dolthub/NathanGabrielson-5d821091
[auto-bump] [no-release-notes] dependency by NathanGabrielson
2025-05-20 17:02:20 -07:00
coffeegoddd 6c8288c75d [ga-bump-release] Update Dolt version to 1.53.6 and release v1.53.6 v1.53.6 2025-05-20 23:58:53 +00:00
Aaron Son 70581809fa Merge pull request #9236 from dolthub/aaron/statspro-long-lock-cleanup
go: sqle/statspro: prollyStats: FlushFromMem: Fix long-held lock when flushing stats to disk.
2025-05-20 16:22:02 -07:00
Aaron Son a90a4bca07 go: sqle/statspro: prollyStats: FlushFromMem: Fix long-held lock when flushing stats to disk.
For sql-server instances with many databases, many branches or many tables
indexes, flushing stats could cause queries to block until stats were finished
flushing. StatsController attempted to rate limited how much I/O bandwidth
would be used to flush stats, but this is currently counter-productive because
all queries are blocked from analyzing successfully until stats are flushed.

This changes it back to flush stats to disk as quickly as possible when we need
to do it. Computing stats is already rate limited, so for large flushes this
should not happen to often.

We will continue to improve things here so that stats writes have less impact
on server resource utilization and do not block user-facing work as they
proceed.
2025-05-20 15:42:57 -07:00
Jason Fulghum 7817c0d2c5 Logging an error that was getting swallowed 2025-05-20 15:16:11 -07:00
NathanGabrielson e37db18994 [ga-bump-dep] Bump dependency in Dolt by NathanGabrielson 2025-05-20 22:09:44 +00:00
Dustin Brown b5694b591e [ga-bump-dep] Bump dependency in Dolt by jycor (#9232) 2025-05-20 15:00:17 -07:00
Nick Tobey 11f4eaa385 Merge pull request #9229 from dolthub/nicktobey/merge
When performing a three-way merge, Use a patchBuffer to build the new primary index instead of a MutableMap.
2025-05-20 12:52:01 -07:00
Nick Tobey 2262c0fc64 Create errGroup context from sqlContext in merge_prolly_rows.go 2025-05-20 10:55:01 -07:00
Jason Fulghum f533464064 Merge pull request #9230 from dolthub/fulghum-094c26d7
[auto-bump] [no-release-notes] dependency by fulghum
2025-05-20 10:27:29 -07:00
fulghum b7caf08b5b [ga-bump-dep] Bump dependency in Dolt by fulghum 2025-05-20 16:45:17 +00:00
nicktobey 73be4c2c74 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2025-05-20 06:35:55 +00:00
Nick Tobey 47e1ee733d When performing a three-way merge, Use a patchBuffer to build the new primary index instead of a MutableMap. 2025-05-19 23:21:18 -07:00