Details
-
Bug
-
Resolution: Fixed
-
Major
-
7.6.0, 7.2.4
-
Untriaged
-
0
-
Unknown
Description
For CBSE-16584 the cgroup stats for one of eight nodes wasn't getting computed (always zero). Restarting the ns_server sigar_port process resolved the issue. As part of the investigation I see this code in sigar.erl
handle_call(get_cgroups_info, _From, State) -> |
NewState = maybe_update_stats(State), |
{_, _, CGroupsInfo} = NewState#state.most_recent_unpacked, |
{reply, CGroupsInfo, State}; |
Note the reply uses "State" rather than "NewState". However, as the computed CGroupsInfo is returned I don't see how it leads to the observed behavior.
Attachments
For Gerrit Dashboard: MB-61319 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
207843,2 | MB-61319 Update sigar state when getting cgroup info | trinity | ns_server | Status: MERGED | +2 | +1 |
207903,1 | Merge remote-tracking branch 'couchbase/trinity' | master | ns_server | Status: MERGED | +2 | +1 |