1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-02 22:55:26 +02:00

[283157] [dstore] Remote search didn't end when the dstore server crashed

This commit is contained in:
David McKnight 2009-09-15 15:14:26 +00:00
parent 1fd8cf60ba
commit 49681b6618

View file

@ -18,7 +18,8 @@
* David McKnight (IBM) - [209593] [api] check for existing query to avoid duplicates
* David McKnight (IBM) - [225902] [dstore] use C_NOTIFICATION command to wake up the server
* David McKnight (IBM) - [231126] [dstore] status monitor needs to reset WaitThreshold on nudge
* David McKnight (IBM) - [261644] [dstore] remote search improvements
* David McKnight (IBM) - [261644] [dstore] remote search improvements
* David McKnight (IBM) - [283157] [dstore] Remote search didn't end when the dstore server crashed
*******************************************************************************/
package org.eclipse.rse.services.dstore.util;
@ -277,7 +278,8 @@ public class DStoreStatusMonitor implements IDomainListener
}
else
{
if ((monitor != null) && (monitor.isCanceled()))
if ((monitor != null && monitor.isCanceled()) ||
!status.getDataStore().getStatus().getName().equals("okay")) // datastore not okay?
{
setCancelled(status);
throw new InterruptedException();