CDV ❯ Assertion failure with passive server
-
Bug
-
Status: Closed
-
2 Major
-
Resolution: Fixed
-
DSO:L2
-
-
ssubbiah
-
Reporter: mrm
-
October 11, 2007
-
0
-
Watchers: 1
-
July 27, 2012
-
October 11, 2007
Attachments
Description
Running sample/pojo/chatter from 2.4.4, an assertion error was thrown on my passive L2 server when an L1 client was closed.
2007-10-11 15:29:45,611 INFO - Moved to State[ PASSIVE-UNINITIALIZED ] 2007-10-11 15:29:45,728 INFO - Moved to State[ PASSIVE-STANDBY ] java.lang.AssertionError: This should never be called. at com.tc.objectserver.tx.PassiveTransactionAccount.clientDead(PassiveTransactionAccount.java:73) at com.tc.objectserver.tx.ServerTransactionManagerImpl.shutdownClient(ServerTransactionManagerImpl.java:126) at com.tc.objectserver.handler.ChannelLifeCycleHandler.channelRemoved(ChannelLifeCycleHandler.java:67) at com.tc.objectserver.handler.ChannelLifeCycleHandler.handleEvent(ChannelLifeCycleHandler.java:52) at com.tc.async.impl.StageImpl$WorkerThread.run(StageImpl.java:142
I’ve attached the modified tc-config.xml. The two L2 servers have this config as well, and were started like this:
mrm@ha01:~$ ~/terracotta-2.4.4/bin/start-tc-server.sh -f ~/tc-config.xml
Comments
Tim Eck 2007-10-11
Saravanan Subbiah 2007-10-11
This is fixed in trunk rev 5840.
A spoke to someone who believe this is fixed in trunk (the basis for the upcoming 2.5.x terracotta release). He will confirm shortly