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

First steps on migrating to a new version of mongo. #3651

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Commits on Aug 1, 2022

  1. First steps on migrating to a new version of mongo.

    We're going to write a helper binary for this in Go, because:
    
    - The currently maintained driver package supports mongo versions back
      to 2.6 (what we're using), which is not true for most other languages.
    - We already have go in our toolchain for boringssl's test suite.
    - The build is unlikely to break due to bitrot re: Go's toolchain.
    - The generated binary is static, so all else fails we can just bundle
      the executable, though I don't anticipate that.
    - I will be much more productive than in something else.
    zenhack committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    0f0aa36 View commit details
    Browse the repository at this point in the history
  2. Attempt to list connection names.

    I'm getting a permissions error trying to just run this from my local
    dev directory; need to figure out what's going on.
    zenhack committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    f70464b View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2022

  1. Configuration menu
    Copy the full SHA
    9628577 View commit details
    Browse the repository at this point in the history
  2. Get mongo-migrate to actually connect on startup.

    We're successfully listing the collections.
    zenhack committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    d3122f5 View commit details
    Browse the repository at this point in the history
  3. Take a snapshot

    zenhack committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    e539143 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2022

  1. Default value for --mongo-port

    Also make the flag an integer instead of a string.
    zenhack committed Nov 7, 2022
    Configuration menu
    Copy the full SHA
    5ac63a0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    333c45c View commit details
    Browse the repository at this point in the history