Skip to content

Conversation

@WH77
Copy link
Contributor

@WH77 WH77 commented Sep 21, 2021

Attempts to address the same issue as #2215.

Current logging hasn't uncovered a smoking gun, but there appears to a potential source of duplicated ports when offers are combined in SingularityOfferHolder. The most likely alternative cause would be stale offers in the cache, which would require a much heavier fix. For now, going to put this out there with additional logging around resource offers to help determine whether the cache or resource duplication is the root cause.

@pschoenfelder
Copy link
Contributor

Looks solid. How important are those TODO's in the unit tests?

@WH77
Copy link
Contributor Author

WH77 commented Sep 22, 2021

I don't believe they're the cause of the port allocation problem, they're more of a note that MesosUtils expects to be given valid resources to subtract.

@WH77 WH77 merged commit 3cc8e11 into master Sep 22, 2021
@WH77 WH77 deleted the port-usage branch September 22, 2021 19:59
@ssalinas ssalinas added this to the 1.5.0 milestone May 4, 2022
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.

4 participants