Skip to content

Conversation

JPrevost
Copy link
Member

@JPrevost JPrevost commented Feb 16, 2023

Why are these changes being introduced:

  • AWS uses a default of 5 which is larger than our current and predicted data size indicates is appropriate for any single index

Relevant ticket(s):

How does this address that need:

  • Sets the value of primary and replica shards to 1 for all indexes created via TIM by adding those values to our existing settings loader

How can a reviewer manually see the effects of these changes?

  • create a new index, then checkout the other branch that adds the display of values for primary and replica shards, then list the indexes (I wasn't sure what this work would look like or I would have combined the two PRs)

Includes new or updated dependencies?

NO

Developer

  • All new ENV is documented in README (or there is none)
  • Stakeholder approval has been confirmed (or is not needed)

Code Reviewer

  • The commit message is clear and follows our guidelines
    (not just this pull request message)
  • There are appropriate tests covering any new functionality
  • The documentation has been updated or is unnecessary
  • The changes have been verified
  • New dependencies are appropriate or there were no changes

Copy link
Contributor

@hakbailey hakbailey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Why are these changes being introduced:

* AWS uses a default of 5 which is larger than our current and predicted
  data size indicates is appropriate for any single index

Relevant ticket(s):

* https://mitlibraries.atlassian.net/browse/TIMX-187

How does this address that need:

* Sets the value of primary and replica shards to 1 for all indexes
  created via TIM by adding those values to our existing settings
  loader
@JPrevost JPrevost force-pushed the TIMX-187-index-shard-settings branch from c64a12c to 131ed32 Compare February 17, 2023 14:11
@JPrevost JPrevost merged commit 7b9826e into main Feb 17, 2023
@JPrevost JPrevost deleted the TIMX-187-index-shard-settings branch February 17, 2023 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants