Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incorrect unsafe usage #220

Merged
merged 6 commits into from
Jun 15, 2020
Merged

Fix incorrect unsafe usage #220

merged 6 commits into from
Jun 15, 2020

Commits on Apr 28, 2020

  1. Fix incorrect unsafe usage

    After checkptr fixes by 2fc6815, it was discovered that new issues
    were hit in production systems, in particular when a single process
    opened and updated multiple separate databases.  This indicates that
    some bug relating to bad unsafe usage was introduced during this
    commit.
    
    This commit combines several attempts at fixing this new issue.  For
    example, slices are once again created by slicing an array of "max
    allocation" elements, but this time with the cap set to the intended
    length.  This operation is espressly permitted according to the Go
    wiki, so it should be preferred to type converting a
    reflect.SliceHeader.
    jrick committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    f9d3ff6 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2020

  1. Configuration menu
    Copy the full SHA
    f0005d4 View commit details
    Browse the repository at this point in the history
  2. go fmt

    jrick committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    e04f391 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2020

  1. Configuration menu
    Copy the full SHA
    81f2578 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2020

  1. Configuration menu
    Copy the full SHA
    9034717 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2020

  1. Test many DBs used concurrently

    jrick committed May 23, 2020
    Configuration menu
    Copy the full SHA
    044f3bd View commit details
    Browse the repository at this point in the history