Skip to content

Instantly share code, notes, and snippets.

@mythmon
Created January 26, 2015 17:56
Show Gist options
  • Save mythmon/f27100f3ec36642b62f8 to your computer and use it in GitHub Desktop.
Save mythmon/f27100f3ec36642b62f8 to your computer and use it in GitHub Desktop.

Changes that involve reindexing

With Elastic Search, it takes a while to reindex. We need to be able to reindex without taking down search.

This walks through the workflow for making changes to our Elastic Search code that require reindexing.

Branches

Master

The master branch is our main integration points. All new patches should be based on the latest master (or rebased to it).

Pull requests are created from those branche. Pull requests may be opened at any time, including before any code has been written.

Pull requests get reviewed.

Once reviewed, the branch is merged into master, except in special cases such as changes that require re-indexing. See Changes that involve reindexing.

We deploy to production from master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment