github dolthub/dolt v1.27.0
1.27.0

latest releases: v1.43.1, v1.43.0, v1.42.20...
10 months ago

This release contains backwards incompatible changes:

  • Databases in a dolt server take their names from the name of their directory on disk. Previously, any hyphens (-) in such directory names were automatically replaced with underscores (_) when exposing the name of that database. This behavior has been changed so that hyphens in database names are preserved. To re-enable the older behavior, set the DOLT_DBNAME_REPLACE_HYPHENS environment variable.

Per Dolt’s versioning policy, this is a minor version bump because these changes may impact existing applications. Please reach out to us on GitHub or Discord if you have questions or need help with any of these changes.

Merged PRs

dolt

  • 6995: allow hyphen in db name to match its dir name
    The PR adds support for allowing hyphens,-, in a database name.
    Before we replaced hyphens with underscores when creating database using directory name. E.g. fortest-db directory name, database name will be test_db. Now, the database name for this directory will be test-db, the same as directory name. This change will be the default behavior, but it can be disabled(switch to previous behavior of replacing hyphens in database name with underscore) by ENV variable DOLT_DBNAME_REPLACE_HYPHENS set to non empty value.
  • 6994: Concurrent remotes map
    This is a first stab at converting the remotes map to a concurrent map. A new generic concurrent map has been added to the utils folder, as I couldn't find a widespread generic implementation of a concurrent map yet.
    I am creating the PR to get some feedback, even though the following still need to be done:
    • tests for the concurrent map
    • probably a conversion of backups and branches needs to be done as well
      This completely fixes the issue I've seen in my project tests when high concurrency is involved.
      This PR attempts to fix #6965. @zachmu when you have some time, let me know what you think.

Closed Issues

  • 6491: Stop renaming databases with hyphens
  • 6965: RepoState.Remotes map not safe for concurrent use

Latency

Read Tests MySQL Dolt Multiple
covering_index_scan 2.11 2.76 1.3
groupby_scan 12.98 17.63 1.4
index_join 1.32 5.09 3.9
index_join_scan 1.25 2.18 1.7
index_scan 34.33 54.83 1.6
oltp_point_select 0.17 0.43 2.5
oltp_read_only 3.3 7.56 2.3
select_random_points 0.32 0.72 2.2
select_random_ranges 0.38 0.86 2.3
table_scan 34.33 55.82 1.6
types_table_scan 74.46 158.63 2.1
reads_mean_multiplier 2.1
Write Tests MySQL Dolt Multiple
oltp_delete_insert 7.98 6.79 0.9
oltp_insert 3.75 3.36 0.9
oltp_read_write 8.28 15.0 1.8
oltp_update_index 3.82 3.43 0.9
oltp_update_non_index 3.82 3.36 0.9
oltp_write_only 5.37 7.56 1.4
types_delete_insert 7.56 7.43 1.0
writes_mean_multiplier 1.1
Overall Mean Multiple 1.6

Don't miss a new dolt release

NewReleases is sending notifications on new releases.