Skip to content

BI-1880 - Error saving experiment import with Breedbase#287

Merged
mlm483 merged 4 commits intodevelopfrom
bug/BI-1880
Sep 19, 2023
Merged

BI-1880 - Error saving experiment import with Breedbase#287
mlm483 merged 4 commits intodevelopfrom
bug/BI-1880

Conversation

@mlm483
Copy link
Contributor

@mlm483 mlm483 commented Aug 24, 2023

Description

Story: https://breedinginsight.atlassian.net/browse/BI-1880

BreedBase refreshes materialized views after each POST request, so increasing the post-group-size from 100 to 1000 could reduce the number of refreshes and improve performance. I also added support for setting this value from a new environment variable POST_CHUNK_SIZE (added to .env.template).

I also snuck in some changes to docker-compose.yml which is helpful in development.

Testing

Upload large files, see if the chunk size is increased. The default value will be 1000 now, but you can also set a value in your .env.

Ultimately, once this is deployed we'll re-run the workflow documented on the Jira card to see if it's able to complete successfully.

Checklist:

  • I have performed a self-review of my own code
  • I have tested my code and ensured it meets the acceptance criteria of the story
  • I have tested that my code works with both the brapi-java-server and BreedBase
  • I have create/modified unit tests to cover this change
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to documentation
  • I have run TAF: <please include a link to TAF run>

@github-actions github-actions bot added the bug Something isn't working label Aug 24, 2023
@mlm483 mlm483 changed the title BI-1880 - increased post-group-size, updated config BI-1880 - Error saving experiment import with Breedbase Aug 24, 2023
@mlm483 mlm483 requested review from a team, davedrp and dmeidlin and removed request for a team August 24, 2023 20:34
@mlm483 mlm483 marked this pull request as ready for review August 24, 2023 20:34
@davedrp davedrp self-assigned this Sep 6, 2023
Copy link
Contributor

@davedrp davedrp left a comment

Choose a reason for hiding this comment

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

Passed Developer Testing.

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

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants