The gfsh query sometimes does not return the results.
Sample Output:
gfsh>query --query='SELECT * FROM /RegionA'
Result: true
Limit: 100
Rows : 0
It applies to all versions of GemFire.
When empty regions are defined on the gateway senders, the gfsh query sometimes fails to return results.
This only affects the gfsh behavior, and no functionality is affected.
This is a known issue and will be addressed in future versions of GemFire.
Please subscribe to this article, to get the latest updates.
The workaround is to specify a member that is hosting the data, in the gfsh query.
Sample Output:
gfsh>query --query='SELECT * FROM /RegionA' --member=XYZ
Result: true
Limit: 100
Rows: 1
Result
-----------------
('Hello World!!')
References: