-
Notifications
You must be signed in to change notification settings - Fork 1k
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
PoC Couch Stats Resource Tracker for tracking process local resource usage #4812
Draft
chewbranca
wants to merge
29
commits into
main
Choose a base branch
from
couch-stats-resource-tracker
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Commits on Oct 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for be84279 - Browse repository at this point
Copy the full SHA be84279View commit details
Commits on Oct 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e5e4820 - Browse repository at this point
Copy the full SHA e5e4820View commit details
Commits on Oct 30, 2023
-
2
Configuration menu - View commit details
-
Copy full SHA for ecda8f3 - Browse repository at this point
Copy the full SHA ecda8f3View commit details
Commits on Oct 31, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 73863a7 - Browse repository at this point
Copy the full SHA 73863a7View commit details
Commits on Nov 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 12e0267 - Browse repository at this point
Copy the full SHA 12e0267View commit details -
Configuration menu - View commit details
-
Copy full SHA for 84be4af - Browse repository at this point
Copy the full SHA 84be4afView commit details
Commits on Nov 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 19224af - Browse repository at this point
Copy the full SHA 19224afView commit details -
Configuration menu - View commit details
-
Copy full SHA for cafa512 - Browse repository at this point
Copy the full SHA cafa512View commit details
Commits on Nov 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 996c385 - Browse repository at this point
Copy the full SHA 996c385View commit details
Commits on Nov 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1bbf7a9 - Browse repository at this point
Copy the full SHA 1bbf7a9View commit details
Commits on Nov 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e70ba4d - Browse repository at this point
Copy the full SHA e70ba4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 715b524 - Browse repository at this point
Copy the full SHA 715b524View commit details
Commits on Nov 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for be8ab04 - Browse repository at this point
Copy the full SHA be8ab04View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c05a0f - Browse repository at this point
Copy the full SHA 4c05a0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for eb20b5d - Browse repository at this point
Copy the full SHA eb20b5dView commit details
Commits on Nov 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f4a712c - Browse repository at this point
Copy the full SHA f4a712cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c758cb7 - Browse repository at this point
Copy the full SHA c758cb7View commit details
Commits on Nov 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4f00910 - Browse repository at this point
Copy the full SHA 4f00910View commit details -
Configuration menu - View commit details
-
Copy full SHA for 887a7f2 - Browse repository at this point
Copy the full SHA 887a7f2View commit details -
Revert "Use Default in config:get/3 on ets table error"
This reverts commit 4f00910.
Configuration menu - View commit details
-
Copy full SHA for 1a1a584 - Browse repository at this point
Copy the full SHA 1a1a584View commit details
Commits on Dec 9, 2023
-
Flush chttpd_db monitor refs on demonitor
This ensures that the coordinator process flushes on demonitoring of the attachment refs in chttpd_db. The problem here is that it's possible to receive a 'DOWN' message for the monitor ref that is not receive'ed, causing it to stick around in the coordinator message queue while the next http request is handled. The pending message will not become apparent until the next fabric call is invoked, as fabric expects to have full access to all messages in the calling process, an expectation which is violated by the pending message and causes a case clause crash in the fabric receive message callbacks. I noticed this during eunit runs with stubbed attachment handles that generate an immediate noproc message on the monitor call. Normal operations should not result in an immediate noproc result on monitoring the attachment process, however, any failure that causes the attachment process to fail between acquisition of the refs and the demonitor calls will induce this bug, causing the next http request handled by the particular chttpd coordinator pool processs to fail on whatever next fabric call is made.
Configuration menu - View commit details
-
Copy full SHA for db1f874 - Browse repository at this point
Copy the full SHA db1f874View commit details
Commits on Dec 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 50495bf - Browse repository at this point
Copy the full SHA 50495bfView commit details -
Avoid mem3_rpc:rexi_call selective receive
We need to potentially extract the usage delta from the incoming RPC message. Rather than pattern match on all possible message formats that could potentially include usage deltas, we instead utilize rexi_util:extract_delta which matches against tuples ending in `{delta, Delta}`, and separates that out from the underlying message. The subtlety here is that receiving the message to extract the delta changes the behavior as this was previously doing a selective receive keyed off of the Ref, and then ignoring any other messages that arrived. I don't know if the selective receive was intended, but I don't think it's appropriate to leave unexpected messages floating around, especially given things like issue #4909. Instead of utilizing a selective receive, this switches to extracting the message and delta like we need to do, and then in the event it finds unexpected messages they're logged and skipped. This selective receive was masking the lack of unlink on the linked rexi_mon pid in fix #4906. I've also noticed some rpc responses arriving late as well, but I haven't tracked that down, so let's log when it does happen.
Configuration menu - View commit details
-
Copy full SHA for 9578773 - Browse repository at this point
Copy the full SHA 9578773View commit details
Commits on Dec 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f77583a - Browse repository at this point
Copy the full SHA f77583aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac17510 - Browse repository at this point
Copy the full SHA ac17510View commit details -
Configuration menu - View commit details
-
Copy full SHA for c500f0f - Browse repository at this point
Copy the full SHA c500f0fView commit details
Commits on Jan 5, 2024
-
Do not persist doc size test config settings
Most tests should not persist config changes. This is no exception. While the test deletes the change afterwards, system halts between setup and teardown result in a persisted max doc setting that causes unexpected failures on the next test suite that writes a document larger than 50 bytes.
Configuration menu - View commit details
-
Copy full SHA for d7e9bd9 - Browse repository at this point
Copy the full SHA d7e9bd9View commit details
Commits on Jan 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f68005a - Browse repository at this point
Copy the full SHA f68005aView commit details
Commits on Feb 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0371589 - Browse repository at this point
Copy the full SHA 0371589View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.