[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tm-cvs-commit] dmcknight org.eclipse.tm.rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/miners Miner.java

Update of /cvsroot/tools/org.eclipse.tm.rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/miners
In directory dev2:/tmp/cvs-serv5279/src/org/eclipse/dstore/core/miners

Modified Files:
      Tag: R3_0_maintenance
	Miner.java 
Log Message:
[378136][dstore] miner.finish is stuck

Index: Miner.java
===================================================================
RCS file: /cvsroot/tools/org.eclipse.tm.rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/miners/Miner.java,v
retrieving revision 1.13.2.2
retrieving revision 1.13.2.3
diff -C2 -d -r1.13.2.2 -r1.13.2.3
*** Miner.java	7 Mar 2012 18:20:30 -0000	1.13.2.2
--- Miner.java	1 May 2012 16:19:52 -0000	1.13.2.3
***************
*** 21,24 ****
--- 21,25 ----
   * David McKnight    (IBM)  - [328060] [dstore] command queue in Miner should be synchronized
   * David McKnight    (IBM)  - [373507] [dstore][multithread] reduce heap memory on disconnect for server
+  * David McKnight     (IBM) - [378136][dstore] miner.finish is stuck
   *******************************************************************************/
  
***************
*** 130,133 ****
--- 131,138 ----
  	public void finish()
  	{
+ 		if (_dataStore.getClient() != null) {
+ 			_dataStore.getClient().getLogger().logInfo(this.getClass().toString(), "Miner.finish()"); //$NON-NLS-1$
+ 		}
+ 
  		synchronized (_commandQueue){
  			_commandQueue.clear();
***************
*** 136,140 ****
  		_minerData.removeNestedData();
  		_minerElement.removeNestedData();
- 		_dataStore.update(_minerElement);
  
  		if (root != null && root.getNestedData() != null){
--- 141,144 ----
***************
*** 142,146 ****
  			root.setExpanded(false);
  			root.setUpdated(false);
- 			_dataStore.update(root);
  		}
  		super.finish();
--- 146,149 ----