You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Alberto Bustamante Reyes (Jira)" <ji...@apache.org> on 2021/09/22 13:35:00 UTC

[jira] [Created] (GEODE-9624) Status redundancy command reports wrong value for empty regions

Alberto Bustamante Reyes created GEODE-9624:
-----------------------------------------------

             Summary: Status redundancy command reports wrong value for empty regions
                 Key: GEODE-9624
                 URL: https://issues.apache.org/jira/browse/GEODE-9624
             Project: Geode
          Issue Type: Bug
            Reporter: Alberto Bustamante Reyes


When a partitioned region is empty, the "status redundancy" command reports the current redundancy of than region as Integer.MAX_VALUE .

This can be reproduced following these steps: 
{code:java}
gfsh>start locator --name=locator1
gfsh>start server --name=server1
gfsh>start server --name=server2 --server-port=40405
gfsh>create region --name=test --type=PARTITION_REDUNDANT_PERSISTENT

gfsh>status redundancy
Number of regions with zero redundant copies = 0
Number of regions with partially satisfied redundancy = 1
Number of regions with fully satisfied redundancy = 0

Redundancy is partially satisfied for regions: 
  test redundancy status: NOT_SATISFIED. Desired redundancy is 1 and actual redundancy is 2147483647.

{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)