byteayan commented on PR #3355:
URL: https://github.com/apache/hugegraph/pull/3355#issuecomment-6220896982

   @imbajin thanks, fixed in 535c2d01b. The resolver now reads every cgroup2 
mount, or every v1 mount carrying `memory`, from mountinfo instead of the first 
one. It skips mounts whose root doesn't contain the process's cgroup, walks 
each remaining one from its rebased path, and keeps the lowest limit. A 
leaf-only or unrelated mount listed first can no longer hide a fuller view 
listed later. New tests run three mount orders for v2 (unrelated, leaf-only and 
full views) and two for v1 (with a cpu-only mount that's ignored). Each finds 
the 4 GiB pod limit and, with a 64 GiB host, 1 GiB heap and 512 MiB direct cap, 
gives 512 MiB. Store core tests: 126 passed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to