[ https://issues.apache.org/jira/browse/GEODE-5478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16562334#comment-16562334 ]
ASF subversion and git services commented on GEODE-5478: -------------------------------------------------------- Commit 12e17d80629bfd4193b3bcd603a75eb9694c8107 in geode's branch refs/heads/feature/GEODE-5400 from [~barry.oglesby] [ https://gitbox.apache.org/repos/asf?p=geode.git;h=12e17d8 ] GEODE-5478: Modified to not increment low redundancy bucket count twice Co-authored-by: Darrel Schneider <dschnei...@pivotal.io> > The lowRedundancyBucketCount statistic is not maintained properly when > multiple members are stopped and restarted > ----------------------------------------------------------------------------------------------------------------- > > Key: GEODE-5478 > URL: https://issues.apache.org/jira/browse/GEODE-5478 > Project: Geode > Issue Type: Bug > Components: regions, statistics > Reporter: Barry Oglesby > Assignee: Barry Oglesby > Priority: Major > Labels: pull-request-available > Time Spent: 40m > Remaining Estimate: 0h > > The lowRedundancyBucketCount statistic is not maintained properly when > multiple members are stopped and restarted > A test where multiple members are stopped simultaneously so that all copies > of a bucket are offlineshows the numBucketsWithoutRedundancy metric not set > properly: > Initially: > {noformat} > (2) Executing - show metrics --categories=partition --region=/rewards > Category | Metric | Value > --------- | --------------------------- | ------ > partition | putLocalRate | 0.0 > | putRemoteRate | 0.0 > | putRemoteLatency | 0 > | putRemoteAvgLatency | 0 > | bucketCount | 226 > | primaryBucketCount | 113 > | numBucketsWithoutRedundancy | 0 > | totalBucketSize | 200000 > | averageBucketSize | 221 > (3) Executing - show metrics --categories=partition --region=/customer > Category | Metric | Value > --------- | --------------------------- | ----- > partition | putLocalRate | 0.0 > | putRemoteRate | 0.0 > | putRemoteLatency | 0 > | putRemoteAvgLatency | 0 > | bucketCount | 226 > | primaryBucketCount | 113 > | numBucketsWithoutRedundancy | 0 > | totalBucketSize | 20000 > | averageBucketSize | 22 > {noformat} > After stopping 2 members (of 4): > {noformat} > (2) Executing - show metrics --categories=partition --region=/rewards > Category | Metric | Value > --------- | --------------------------- | ----- > partition | putLocalRate | 0.0 > | putRemoteRate | 0.0 > | putRemoteLatency | 0 > | putRemoteAvgLatency | 0 > | bucketCount | 112 > | primaryBucketCount | 73 > | numBucketsWithoutRedundancy | 57 > | totalBucketSize | 99107 > | averageBucketSize | 442 > (3) Executing - show metrics --categories=partition --region=/customer > Category | Metric | Value > --------- | --------------------------- | ----- > partition | putLocalRate | 0.0 > | putRemoteRate | 0.0 > | putRemoteLatency | 0 > | putRemoteAvgLatency | 0 > | bucketCount | 112 > | primaryBucketCount | 76 > | numBucketsWithoutRedundancy | 57 > | totalBucketSize | 9915 > | averageBucketSize | 44 > {noformat} > After restarting both members, numBucketsWithoutRedundancy > 0: > {noformat} > (2) Executing - show metrics --categories=partition --region=/rewards > Category | Metric | Value > --------- | --------------------------- | ------ > partition | putLocalRate | 0.0 > | putRemoteRate | 0.0 > | putRemoteLatency | 0 > | putRemoteAvgLatency | 0 > | bucketCount | 226 > | primaryBucketCount | 113 > | numBucketsWithoutRedundancy | 0 > | totalBucketSize | 200000 > | averageBucketSize | 221 > (3) Executing - show metrics --categories=partition --region=/customer > Category | Metric | Value > --------- | --------------------------- | ----- > partition | putLocalRate | 0.0 > | putRemoteRate | 0.0 > | putRemoteLatency | 0 > | putRemoteAvgLatency | 0 > | bucketCount | 226 > | primaryBucketCount | 113 > | numBucketsWithoutRedundancy | 21 > | totalBucketSize | 20000 > | averageBucketSize | 22 > {noformat} > All the buckets and data are recovered, but the numBucketsWithoutRedundancy > is not 0. -- This message was sent by Atlassian JIRA (v7.6.3#76005)