Diane Hardman created GEODE-2553: ------------------------------------ Summary: Lucene search hangs on recreated region with no data Key: GEODE-2553 URL: https://issues.apache.org/jira/browse/GEODE-2553 Project: Geode Issue Type: Bug Components: lucene Reporter: Diane Hardman Fix For: 1.2.0
While manually testing in gfsh the process of deleting Lucene indexes, deleting the region, creating new indexes and a new empty region, I was able to hang gfsh while doing a Lucene search on the new region with no data. Here are the steps I used: _________________________ __ / _____/ ______/ ______/ /____/ / / / __/ /___ /_____ / _____ / / /__/ / ____/ _____/ / / / / /______/_/ /______/_/ /_/ 1.2.0-SNAPSHOT Monitor and Manage Apache Geode gfsh>start locator --name=locator1 --port=12345 gfsh>start server --name=server50505 --server-port=50505 --locators=localhost[12345] --start-rest-api --http-service-port=8080 --http-service-bind-address=localhost gfsh>create lucene index --name=testIndex --region=testRegion --field=__REGION_VALUE_FIELD gfsh>create lucene index --name=testIndex2 --region=testRegion gfsh>list lucene indexes --with-stats gfsh>create region --name=testRegion --type=PARTITION_PERSISTENT gfsh>put --key=1 --value=value1 --region=testRegion gfsh>put --key=2 --value=value2 --region=testRegion gfsh>put --key=3 --value=value3 --region=testRegion gfsh>search lucene --name=testIndex --region=/testRegion --queryStrings=value* --defaultField=__REGION_VALUE_FIELD gfsh>search lucene --name=testIndex2 --region=/testRegion --queryStrings=value* --defaultField=__REGION_VALUE_FIELD gfsh>destroy lucene index --region=/testRegion --name=testIndex gfsh>list lucene indexes --with-stats gfsh>search lucene --name=testIndex2 --region=/testRegion --queryStrings=value* --defaultField=__REGION_VALUE_FIELD gfsh>search lucene --name=testIndex --region=/testRegion --queryStrings=value* --defaultField=__REGION_VALUE_FIELD <NOTE: The above command fails as expected> gfsh>destroy lucene index --region=/testRegion gfsh>list lucene indexes --with-stats gfsh>destroy region --name=/testRegion gfsh>create lucene index --name=testIndex --region=testRegion gfsh>create lucene index --name=testIndex2 --region=testRegion --field=__REGION_VALUE_FIELD gfsh>list lucene indexes --with-stats gfsh>create region --name=testRegion --type=PARTITION_PERSISTENT gfsh>search lucene --name=testIndex --region=/testRegion --queryStrings=value* --defaultField=__REGION_VALUE_FIELD The gfsh process hangs at this point. I'll attach the stacktrace for the server. -- This message was sent by Atlassian JIRA (v6.3.15#6346)