This release contains backwards incompatible changes:
- Servers running as remote replicas now pull divergent remote heads (e.g. those pushed with
dolt push -f
) by default. This setting is controlled by the server variable@@dolt_read_replica_force_pull
. This variable previously had a default of0
, and now defaults to1
. To restore the previous behavior on remote replicas, runset @@persist.dolt_read_replica_force_pull = 0
and restart the server. - Certain stored procedures have a different result schema.
dolt_gc
anddolt_backup
previously returned1
for success and0
for failure, and this has been reversed. Additionally,dolt_backup
,dolt_fetch
,dolt_gc
, anddolt_push
have changed the name of the column in their result schema, fromsuccess
tostatus
.
Per Dolt’s versioning policy, this is a minor version bump because applications written for older versions of dolt may need changes to continue functioning the same.
Merged PRs
dolt
- 6654: Standardize stored procedure success output messages
Standardizes stored procedures that report a success/failure message to printStatus
of0
on success andStatus
of1
on failure. Changes from the old output of printingSuccess
of1
on success andSuccess
of0
on failure. - 6651: fixes log panic
Fixes panic when calling log in non-dolt repo by adding missing return statement. - 6647: fix formatting issue in status
fixes missing line break indolt status
when up to date with remote - 6635: Change default of replication pull to force
Fixes #6627
This change alters the default of@@dolt_read_replica_force_pull
from0
to1
. By default, read replicas will now always pull from the remote, even when the current head has diverged (such as in the case of acommit --amend
orpush -f
to the remote).
Also changesdolt pull
to automatically perform merges on the remote tracking branch as needed -- previously we required that this be a fast-forward merge only, which means that you couldn't pull down a force-pushed commit without a lot of other commands and headache.
Also fixes a bug where boolean values couldn't be persisted withon
oroff
.
Closed Issues
- 6653: Parse unique parameters for MySQL's MERGE engine.
- 6627: Amending commits on a primary breaks remote based replication
- 6645: Support
TABLE_CHECKSUM
as an alias forCHECKSUM
- 6632: Parse SECONDARY_ENGINE parameter in queries
- 6642: Support MySQL
TABLE
statement. - 6585: Support for JSON modification functions
Latency
Read Tests | MySQL | Dolt | Multiple |
---|---|---|---|
covering_index_scan | 2.07 | 2.91 | 1.4 |
groupby_scan | 13.22 | 18.28 | 1.4 |
index_join | 1.27 | 4.74 | 3.7 |
index_join_scan | 1.21 | 2.22 | 1.8 |
index_scan | 33.12 | 58.92 | 1.8 |
oltp_point_select | 0.14 | 0.39 | 2.8 |
oltp_read_only | 2.71 | 7.17 | 2.6 |
select_random_points | 0.31 | 0.7 | 2.3 |
select_random_ranges | 0.37 | 0.95 | 2.6 |
table_scan | 33.12 | 58.92 | 1.8 |
types_table_scan | 74.46 | 167.44 | 2.2 |
reads_mean_multiplier | 2.2 |
Write Tests | MySQL | Dolt | Multiple |
---|---|---|---|
bulk_insert | 0.001 | 0.001 | 1.0 |
oltp_delete_insert | 5.77 | 5.99 | 1.0 |
oltp_insert | 2.71 | 3.13 | 1.2 |
oltp_read_write | 6.43 | 14.21 | 2.2 |
oltp_update_index | 2.66 | 3.07 | 1.2 |
oltp_update_non_index | 2.97 | 2.97 | 1.0 |
oltp_write_only | 3.82 | 7.17 | 1.9 |
types_delete_insert | 6.43 | 6.32 | 1.0 |
writes_mean_multiplier | 1.3 |
Overall Mean Multiple | 1.8 |
---|