github dolthub/dolt v2.0.3
2.0.3

5 hours ago

Merged PRs

dolt

  • 11028: drop remote db cache, Close() after each use
    SSH subprocesses created by sql-server instances were failing to clean up because the Close() method was never being called. This was the result of some caching done by GetRemoteDB in the sqle package. Most of this change is to remove sqle.DoltDatabaseProvider.GetRemoteDB() caching, allowing for push/pull operations to safely Close() remote databases after use. Thus, preventing the PID leak in the associated issue (#10897)
    Git remote database singletons are a special case. Previously the push operation only would cache these instances - which are expensive to create initially since they need to perform git operations to get in sync with the remote. There is no reason go Close() them though, so we keep a singleton for the duration of the sql-server process.
    Fixes: #10897
  • 10990: replace all decimal.Decimal with *apd.Decimal
    Depends on dolthub/go-mysql-server#3532
  • 10953: fix autogc load scheduler to be independent on number of CPUs
    Before, we had a threshold that was incorrectly calculating the threshold based off the number of CPUs.
    The original intention is to prevent AutoGC if a single CPU core exceeds 50% usage.
    We've determined that CPU Load itself is not a great metric to schedule AutoGC, but this is a fix for now.
    addresses: #10944

go-mysql-server

  • 3539: Bug fix for dropping sort nodes
    Also fixed a couple under-specified goup concat tests.
    The latter were relying on a particular row storage order which is not guaranteed and broke when Dolt changed some encoding parameters.
  • 3532: replace all decimal.Decimal with *apd.Decimal

Closed Issues

  • 10944: Auto-GC never fires on multi-core systems: loadAvgGCScheduler threshold formula is inverted
  • 9248: support returning clause in inserts like mariadb ?
  • 10897: dolt sql-server leaks one ssh child process per CALL dolt_fetch against an ssh:// remote

Don't miss a new dolt release

NewReleases is sending notifications on new releases.