• Bug
  • Status: Closed
  • 2 Major
  • Resolution: Fixed
  • teck
  • Reporter: teck
  • April 19, 2011
  • 0
  • Watchers: 0
  • July 27, 2012
  • April 19, 2011

Description

This happened in a run of BasicPassiveSyncSearchTest. Looks like the bufferedstream used in the journal writer can cause this to happen if the very first jorunal change is still in flight when the index sync complete message is received

java.lang.AssertionError: java.io.EOFException at com.tc.l2.state.EnterpriseStateSyncManagerImpl.indexSyncComplete(EnterpriseStateSyncManagerImpl.java:24) at com.tc.l2.objectserver.L2PassiveSyncStateManagerImpl.indexSyncComplete(L2PassiveSyncStateManagerImpl.java:50) at com.tc.l2.handler.L2IndexSyncHandler.handleIndexSyncCompleteMessage(L2IndexSyncHandler.java:54) at com.tc.l2.handler.L2IndexSyncHandler.handleEvent(L2IndexSyncHandler.java:45) at com.tc.async.impl.StageImpl$WorkerThread.run(StageImpl.java:132) Caused by: java.io.EOFException at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2280) at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2749) at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:779) at java.io.ObjectInputStream.(ObjectInputStream.java:279) at com.tc.objectserver.search.JournalQueue$Reader.(JournalQueue.java:108) at com.tc.objectserver.search.JournalQueue.createReader(JournalQueue.java:99) at com.tc.objectserver.search.IndexHACoordinatorImpl.applyJournals(IndexHACoordinatorImpl.java:245) at com.tc.objectserver.search.IndexHACoordinatorImpl.applyTempJournalsAndSwitch(IndexHACoordinatorImpl.java:179) at com.tc.l2.state.EnterpriseStateSyncManagerImpl.indexSyncComplete(EnterpriseStateSyncManagerImpl.java:22) ... 4 more

Comments