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

Upgrade API to use Elasticsearch 5.6 #2921

Closed
16 tasks done
lbeaufort opened this issue Feb 14, 2018 · 4 comments
Closed
16 tasks done

Upgrade API to use Elasticsearch 5.6 #2921

lbeaufort opened this issue Feb 14, 2018 · 4 comments

Comments

@lbeaufort
Copy link
Member

lbeaufort commented Feb 14, 2018

Cloud.gov now has support for Elasticsearch version 5.6 (wohoo!) more info here, which may improve some of the performance issues we've been having with our current version (2.4).

Also, cloud.gov may end support for 2.4 in the medium-term future.

Remaining items

  • delete 2.4 service instance on dev once the PR is merged: cf delete-service SERVICE_INSTANCE
    Before release cut on 5/22:
  • Create 5.6 service instances in stage: cf create-service elasticsearch56 medium-ha fec-api-search56
  • use a headless app to bind to the 5.6 instances
  • restore from snapshot so we will have no downtime
    After release cut on 5/22:
  • Reload legal docs to be sure everything looks good
  • delete the 2.4 service instance
    Before deployment on 5/29:
  • Repeat above steps for the prod space
    After deployment on 5/29:
  • delete the 2.4 service instance

From cloud.gov: "Elasticsearch version 5.6 is now available. This includes performance improvements and new features. We recommend upgrading from version 2.4 to 5.6, but we don’t have near-term plans to end support for 2.4. "

@lbeaufort lbeaufort self-assigned this Mar 2, 2018
@lbeaufort lbeaufort changed the title Research upgrading legal resources to Elasticsearch 5.6 Upgrade API to use Elasticsearch 5.6 Mar 2, 2018
@lbeaufort lbeaufort added this to the Sprint 5.4 milestone Apr 3, 2018
@jwchumley jwchumley assigned vrajmohan and fec-jli and unassigned lbeaufort Apr 10, 2018
@lbeaufort lbeaufort modified the milestones: Sprint 5.4, Sprint 5.5 Apr 10, 2018
@lbeaufort
Copy link
Member Author

lbeaufort commented Apr 10, 2018

@fec-jli requested that we pair on this during the first week of 5.5 before she goes on vacation This got moved back to 5.4

@pkfec
Copy link
Contributor

pkfec commented May 30, 2018

Create Elastic Search 5.6 service instances in Production: cf create-service elasticsearch56 medium-ha fec-api-search56 during the release on May 30th

Ran the following command to bind this new service to the api : cf bind-service api fec-api-search56

@lbeaufort
Copy link
Member Author

No remaining items for this ticket. Thanks for all your hard work! @vrajmohan @pkfec @fec-jli

@lbeaufort
Copy link
Member Author

@vrajmohan I confirmed doc counts on prod here: https://docs.google.com/spreadsheets/d/1Ksb3mjwsTKcdAwkRkP8n3e6KrNmoZor_WP1ipDQmibo/edit#gid=0

Archived MURs 4445
Current Murs 2160
advisory_opionions 1989
citations 531
regs 529
statutes 57

Total All 9711

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

No branches or pull requests

6 participants