Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question
0

Query not executing and classes not returned for a while in remote space?

Hi, I try to run an SQL query with inner selects from a remote space and it fails to execute for the first 30 min or so. Magically it works after 30 min.

And also from the remote space when I try to use: gigaSpace.getSpace().getDirectProxy().getClusteredProxy().m_ClassNames Most classes are missing for sometime, They magically appear after some time.

What might be the cause of it? Not enought Threads to process the request or something else? Has anyone faced this issue before?

asked 2017-10-29 20:38:09 -0600

akacoder007 gravatar image

updated 2017-10-29 21:14:36 -0600

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

Hi, 1.ClassNames : I guess you are using an old GigaSpace version since what you are doing is based on internal api and no longer supported, anyhow to get space class names you should use the admin api to retrieve the SpaceRuntimeDetails and from it you can get classnames, counts of objects per class and more.please note that we don't have all class names in advance and classes are loaded when operations are done concerning those classes. (this api is available since 8.03 version) see:https://docs.gigaspaces.com/xap/12.1/dev-java/administration-and-monitoring-api.html 2.Regarding the query, It might be that there are objects locked by long transactions that cause the issue, I would suggest checking for active transactions in the ui when query dosn't return results, otherwise please attach reproduction to further investigate.

Regards, Ester.

answered 2017-10-30 02:19:00 -0600

Ester gravatar image
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2017-10-29 20:38:09 -0600

Seen: 40 times

Last updated: Oct 30