[ 
https://issues.apache.org/jira/browse/GEODE-5224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16491949#comment-16491949
 ] 

yossi reginiano commented on GEODE-5224:
----------------------------------------

thanks for your reply Anilkumar Gingade

the scenario Is as followed-

create entries in certain region that should be picked up by some process - and 
creating backlog and eviction by not triggering that process

letting it run and create 2-3 CRF files

then bring up the process that starts processing the records - we then notice 
that statistics is not calculated correctly and entriesOnlyOnDisk does not 
decrease to 0 , while entriesInVM decrease beneath 0

*do note that the issue is only in the statistics - and the real entries are 
processed correctly*

 

our configuration is as followed -

        <disk-store name="PWInfo-overflow" allow-force-compaction="true" 
auto-compact="true"
                compaction-threshold="50" max-oplog-size="256" 
queue-size="4096" time-interval="1000"
                write-buffer-size="32768">
        <disk-dirs>
                <disk-dir dir-size="40960">data/.</disk-dir>
        </disk-dirs>
        </disk-store>

 
        <region name="PWINFO_1">
                <region-attributes concurrency-checks-enabled="false" 
data-policy="partition"
                disk-store-name="PWInfo-overflow" disk-synchronous="true">
                        <partition-attributes startup-recovery-delay="60000"
                                redundant-copies="1" 
total-num-buckets="${cc:TC/IMDG/gemfire_pwinfo_sum_num_of_buckets:-113}"/>
                        <eviction-attributes>
                                <lru-entry-count maximum="2000" 
action="overflow-to-disk"/>
                        </eviction-attributes>
 
                </region-attributes>
                <index name="PartitionIDIndex" from-clause="/PWINFO_1.keySet e"
                        expression="e.PartitionID"/>
                <index name="FuncIndex" from-clause="/PWINFO_1.keySet e" 
expression="e.Index"/>
        </region>

> statistics of Type DiskRegionStatistics is not correct after recovery from 
> eviction
> -----------------------------------------------------------------------------------
>
>                 Key: GEODE-5224
>                 URL: https://issues.apache.org/jira/browse/GEODE-5224
>             Project: Geode
>          Issue Type: Bug
>          Components: eviction
>            Reporter: yossi reginiano
>            Priority: Major
>         Attachments: EntriesInVM.png, EntriesOnlyOnDisk.png
>
>
> we are using geode 1.4 and facing the following issue
> after getting into eviction we can see that entriesOnlyOnDisk is shown 
> correctly, the problem is when getting out of eviction - we can see that the 
> summarize is getting messed up and that entriesOnlyOnDisk is not reduced to 0 
> but rather stay high and on the other end - entriesInVM is reduced under 0.
> the numbers sum up ok - the issue is only that we reduce too much from 
> entriesInVM while part of it should have been removed from entriesOnlyOnDisk.
> the issue can be reproduced very simply by getting into and out of eviction 
> and monitoring the statistics.
> please see following screen shots that describes the issue-
> !image-2018-05-16-15-02-35-522.png!
>  
>  
> !image-2018-05-16-15-03-18-815.png!
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to