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

Track application restart generations #2564

Open
wants to merge 34 commits into
base: stable-6.0
Choose a base branch
from

Conversation

CamJN
Copy link
Member

@CamJN CamJN commented Sep 9, 2024

The generation number groups all application processes according to the most recent restart initiation. We use this information to intelligently route to newer generations if there is capacity.

Fixes one aspect of #2551.

@CamJN CamJN self-assigned this Sep 9, 2024
@CamJN CamJN added this to the 6.0.24 milestone Sep 9, 2024
@FooBarWidget FooBarWidget changed the title app generations feature Track application restart generations Sep 17, 2024
not that there’s a point in this test really
src/agent/Core/ApplicationPool/Process.h Outdated Show resolved Hide resolved
src/agent/Core/ApplicationPool/Process.h Outdated Show resolved Hide resolved
test/cxx/Core/ApplicationPool/PoolTest.cpp Outdated Show resolved Hide resolved
test/cxx/Core/ApplicationPool/PoolTest.cpp Show resolved Hide resolved
test/cxx/Core/ApplicationPool/ProcessTest.cpp Show resolved Hide resolved
test/cxx/Core/ApplicationPool/ProcessTest.cpp Outdated Show resolved Hide resolved
@CamJN
Copy link
Member Author

CamJN commented Nov 11, 2024

The tests that failed in the last run were due to the cache step failing, I reran them and they passed.

@CamJN
Copy link
Member Author

CamJN commented Nov 11, 2024

All requested changes have been made.

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.

Passenger Enterprise zero-downtime restarts & request routing can prolong outages and delay recovery
2 participants