Skip to content

Conversation

@dependabot-preview
Copy link

Bumps sled from 0.26.3 to 0.31.0.

Release notes

Sourced from sled's releases.

varints, read and recovery optimizations

0.31

Improvements

  • #947 dramatic read and recovery optimizations
  • #921 reduced the reliance on locks while performing multithreaded IO on windows.
  • #928 use sync_file_range on linux instead of a full fsync for most writes.
  • #946 io_uring support changed to the rio crate
  • #939 reduced memory consumption during zstd decompression

Breaking Changes

  • #927 use SQLite-style varints for serializing u64. This dramatically reduces the written bytes for databases that store small keys and values.
  • #943 use varints for most of the fields in message headers, causing an additional large space reduction. combined with #927, these changes reduce bytes written by 68% for workloads writing small items.

sled::open replaces sled::Db::open

New Features

  • Added the open function for quickly opening a database at a path with default configuration.

new storage format and bugfixes

  • much faster compile speeds after aggressive dependency pruning
  • new storage format
  • bugfixes in cache invalidation and combining transactions with compression

Config, Transaction, and Opening Revamp

New Features

  • The Config::open method has been added to give Config a similar feel to std's fs::OpenOptions. The Config::build and Db::start methods are now deprecated in favor of calling Config::open directly
  • A checksum method has been added to Tree and Db for use in verifying backups and migrations.
  • Transactions may now involve up to 69 different tables. Nice.
  • The TransactionError::Abort variant has had a generic member added that can be returned
... (truncated)
Changelog

Sourced from sled's changelog.

0.31

Improvements

  • #947 dramatic read and recovery optimizations
  • #921 reduced the reliance on locks while performing multithreaded IO on windows.
  • #928 use sync_file_range on linux instead of a full fsync for most writes.
  • #946 io_uring support changed to the rio crate
  • #939 reduced memory consumption during zstd decompression

Breaking Changes

  • #927 use SQLite-style varints for serializing u64. This dramatically reduces the written bytes for databases that store small keys and values.
  • #943 use varints for most of the fields in message headers, causing an additional large space reduction. combined with #927, these changes reduce bytes written by 68% for workloads writing small items.

0.30.3

  • Documentation-only release

0.30.2

New Features

  • Added the open function for quickly opening a database at a path with default configuration.

0.30.1

Bugfixes

  • Fixed an issue where an idle threadpool worker would spin in a hot loop until work arrived

0.30

Breaking Changes

  • Migrated to a new storage format
... (truncated)
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Feb 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant