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

Propagating error upstream + Random eviction Fix #531

Merged
merged 9 commits into from
May 19, 2023

Conversation

Mzack9999
Copy link
Member

@Mzack9999 Mzack9999 commented Apr 13, 2023

Description

This PR implements the following changes:

  • Adding KeepAlive support
  • Fixes a rare random atomic.Value state change that caused asynchronous server read to face early eviction due to the state being Polling at iteration check, but turned to Idle/Closed via StopPolling()/Close() (Closes investigate and fix correlation id was not found #525)

@Mzack9999 Mzack9999 self-assigned this Apr 13, 2023
@Mzack9999 Mzack9999 added Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. Investigation Something to Investigate labels Apr 13, 2023
@Mzack9999 Mzack9999 linked an issue Apr 13, 2023 that may be closed by this pull request
@Mzack9999 Mzack9999 changed the title Propagating error upstream Propagating error upstream + Random eviction Fix Apr 13, 2023
Base automatically changed from dev to main April 28, 2023 21:05
@ehsandeep ehsandeep changed the base branch from main to dev April 28, 2023 21:07
@Mzack9999 Mzack9999 marked this pull request as ready for review May 17, 2023 09:39
Copy link
Contributor

@ShubhamRasal ShubhamRasal left a comment

Choose a reason for hiding this comment

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

lgtm 😃

Notes:

@Mzack9999
Copy link
Member Author

Host swap should be already enabled at OS level. Do we need to add any particular capability/permission to docker or the two conf flags are enough?

@ShubhamRasal
Copy link
Contributor

Host swap should be already enabled at OS level. Do we need to add any particular capability/permission to docker or the two conf flags are enough?

I see, on the servers that swap is not enabled, we may to enable swap before deploying these changes

@ehsandeep
Copy link
Member

We are currently running interactsh server with this branch at hackwithautomation.com

@ehsandeep ehsandeep merged commit 22b03f9 into dev May 19, 2023
@ehsandeep ehsandeep deleted the issue-525-random-eviction branch May 19, 2023 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Investigation Something to Investigate Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

investigate and fix correlation id was not found
3 participants