William Markito Oliveira created GEODE-1733:
-----------------------------------------------
Summary: Lucene indexes stats are zeroed after recovering from
indexes from disk
Key: GEODE-1733
URL: https://issues.apache.org/jira/browse/GEODE-1733
Project: Geode
Issue Type: Bug
Components: lucene
Reporter: William Markito Oliveira
When recovering from disk the indexes stats are zeroed until a query is
executed.
{code}
--------------------
gfsh>list lucene indexes --with-stats
Index Name | Region Path | Indexed Fields | Field
Analyzer | Status | Query Executions | Updates | Commits | Documents
----------------- | ----------- | -------------------------------- |
-------------- | ----------- | ---------------- | ------- | ------- | ---------
customerRegionAll | /customer | [lastUpdateDateTime, displayNa.. | {}
| Initialized | 0 | 0 | 0 | 0
customerRegionAll | /customer | [lastUpdateDateTime, displayNa.. | {}
| Initialized | 0 | 0 | 0 | 0
customerRegionAll | /customer | [lastUpdateDateTime, displayNa.. | {}
| Initialized | 0 | 0 | 0 | 0
customerRegionID | /customer | [id] | {}
| Initialized | 0 | 0 | 0 | 0
customerRegionID | /customer | [id] | {}
| Initialized | 0 | 0 | 0 | 0
customerRegionID | /customer | [id] | {}
| Initialized | 0 | 0 | 0 | 0
--------------------
After query:
gfsh>list lucene indexes --with-stats
Index Name | Region Path | Indexed Fields | Field
Analyzer | Status | Query Executions | Updates | Commits | Documents
----------------- | ----------- | -------------------------------- |
-------------- | ----------- | ---------------- | ------- | ------- | ---------
customerRegionAll | /customer | [lastUpdateDateTime, displayNa.. | {}
| Initialized | 0 | 0 | 0 | 0
customerRegionAll | /customer | [lastUpdateDateTime, displayNa.. | {}
| Initialized | 0 | 0 | 0 | 0
customerRegionAll | /customer | [lastUpdateDateTime, displayNa.. | {}
| Initialized | 0 | 0 | 0 | 0
customerRegionID | /customer | [id] | {}
| Initialized | 114 | 0 | 0 | 20644274
customerRegionID | /customer | [id] | {}
| Initialized | 111 | 0 | 0 | 20103890
customerRegionID | /customer | [id] | {}
| Initialized | 114 | 0 | 0 | 20637846
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)