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

Require more than 1x failed health checks before marking an acquired dungeon as unhealthy #57

Open
4Ply opened this issue Jan 21, 2025 · 0 comments

Comments

@4Ply
Copy link
Member

4Ply commented Jan 21, 2025

21:11:58 0|worker  | 2025-01-20T21:11:58: info: Attempting to find an available dungeon for ErnieCarries (claimID: 678ebc1e3ab0a0c376a418a7)
21:11:58 0|worker  | 2025-01-20T21:11:58: info: Acquired an available dungeon for ErnieCarries: {
21:11:58 0|worker  |   _id: new ObjectId('678dfb6331c4abe330055319'),
21:11:58 0|worker  |   name: 'd102',
21:11:58 0|worker  |   ip: '10.151.0.136',
21:11:58 0|worker  |   activePlayers: 0,
21:11:58 0|worker  |   state: 'reserved',
21:11:58 0|worker  |   requiresRebuild: false,
21:11:58 0|worker  |   healthySince: 2025-01-20T18:42:20.086Z,
21:11:58 0|worker  |   unhealthySince: null,
21:11:58 0|worker  |   createdAt: 2025-01-20T07:29:39.036Z,
21:11:58 0|worker  |   updatedAt: 2025-01-20T21:11:58.764Z,
21:11:58 0|worker  |   __v: 0,
21:11:58 0|worker  |   inUseDate: 2025-01-20T07:29:54.085Z,
21:11:58 0|worker  |   claimId: '678ebc1e3ab0a0c376a418a7',
21:11:58 0|worker  |   reservedBy: 'ErnieCarries',
21:11:58 0|worker  |   reservedDate: 2025-01-20T21:11:58.764Z
21:11:58 0|worker  | }
21:11:58 0|worker  | 2025-01-20T21:11:58: info: Connected to 10.151.0.136:25565, considering this dungeon as healthy
21:11:58 0|worker  | 2025-01-20T21:11:58: info: Setting ErnieCarries's state as in-transit-to-dungeon
21:11:58 0|worker  | 2025-01-20T21:11:58: info: Setting Claim 678ebc1e3ab0a0c376a418a7's state as acquired

21:11:58 0|worker  | 2025-01-20T21:11:58: error: Failed to connect to 10.151.0.134:25565 (error encountered during socket connection)
21:11:58 0|worker  | 2025-01-20T21:11:58: warn: Could not reach dungeon instance d101 at 10.151.0.134. Marking it as unhealthy

21:22:02 0|worker  | 2025-01-20T21:22:02: warn: Could not find reserved instance for ErnieCarries, and therefore cannot move them to their instance
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant