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

dealing with holdings on large clusters #276

Merged
merged 1 commit into from
Jun 2, 2023
Merged

Conversation

mwarin
Copy link
Contributor

@mwarin mwarin commented May 26, 2023

PR to understand/prevent/fix the issue of super bloated holdings on large clusters.

Contains some new tests and a bin script that forces the specified clusters to behave as LargeClusters (i.e. max one holding per org).

@coveralls
Copy link

coveralls commented May 26, 2023

Coverage Status

coverage: 95.194% (-0.02%) from 95.218% when pulling b9bff9b on 202305-large-cluster into 0c812d0 on main.

@mwarin mwarin force-pushed the 202305-large-cluster branch from 4fdd39b to a025938 Compare June 2, 2023 15:16
@mwarin mwarin requested review from aelkiss and moseshll June 2, 2023 15:20
@mwarin mwarin marked this pull request as ready for review June 2, 2023 15:20
Copy link
Contributor

@moseshll moseshll left a comment

Choose a reason for hiding this comment

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

FYI I had only one problem with this (and I think maybe I have seen this before so it's not related to the PR and should not be an impediment):
The mongo_dev service in docker-compose.yml has two volumes entries, on my Macs this causes docker-compose build to gripe

parsing /Users/moseshll/hathitrust/holdings-backend/docker-compose.yml: yaml: unmarshal errors:
  line 41: mapping key "volumes" already defined at line 38

The easy fix was just to combine the two volumes entries and tally-ho.

@mwarin mwarin force-pushed the 202305-large-cluster branch from 75de9b3 to b9bff9b Compare June 2, 2023 19:23
@mwarin mwarin merged commit e1261a5 into main Jun 2, 2023
@aelkiss aelkiss deleted the 202305-large-cluster branch January 7, 2025 20:38
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.

3 participants