Sorry, it should be: query --query='select e.key from /Region.entrySet e where e.key=28733'
From: Jinmei Liao <[email protected]> Reply-To: "[email protected]" <[email protected]> Date: Wednesday, August 26, 2020 at 10:02 AM To: "[email protected]" <[email protected]> Subject: Re: weird gfsh behavior Looks like that key does not exist in your region. Your query doesn’t look correct. Try this: query --query='select e.key from /Region.entries e where e.key=28733' From: Claudiu Balciza <[email protected]> Reply-To: "[email protected]" <[email protected]> Date: Wednesday, August 26, 2020 at 9:58 AM To: "[email protected]" <[email protected]> Subject: weird gfsh behavior Hi all, I have encountered this strange gfsh behavior There is data in a region and I can query it gfsh>query --query='select key from /Region.entries where key=28733' Result : true Limit : 100 Rows : 1 Result ------ 28733 But when I try to get or remove the entry gfsh>get --region=Region --key='28733' Result : false Key Class : java.lang.String Key : 28733 Value Class : java.lang.String Value : null gfsh>remove --region=Region --key='28733' Result : false Message : Key is not present in the region Key Class : java.lang.String Key : 28733 But then gfsh>query --query='select key from /Region.entries where key=28733' Result : true Limit : 100 Rows : 1 Result ------ 28733 I’m a bit stumped 😊 Claudiu
