db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Lawrenson <andrew.lawren...@coppereye.com>
Subject RE: Derby replication failed under heavy load
Date Fri, 24 Jul 2009 16:37:57 GMT
I'm not sure if it's the exact same issue, but I have observed the replication failing under
heavy load where the replication buffers would fill faster than the logs can be shipped to
the slave (even with fast servers & fast network).
I've previously tweaked a copy of derby to allow up to 100 buffers (rather than the current
max of 10), and optimized the various thresholds, but still observed over 80 buffers being
used under high load (this was with 10.4.2.0 on Solaris).

	Andy

-----Original Message-----
From: Alan Burlison [mailto:Alan.Burlison@sun.com] 
Sent: 23 July 2009 22:35
To: Derby Discussion
Subject: Derby replication failed under heavy load

Anyone seen this before?

> Replication slave role was stopped for database 'opensolaris'.
> 
> ------------  BEGIN SHUTDOWN ERROR STACK -------------
> 
> ERROR XSLA7: Cannot redo operation null in the log.
>         at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
>         at org.apache.derby.impl.store.raw.log.FileLogger.redo(Unknown Source)
>         at org.apache.derby.impl.store.raw.log.LogToFile.recover(Unknown Source)
>         at org.apache.derby.impl.store.raw.RawStore.boot(Unknown Source)
>         at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
>         at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
>         at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source)
>         at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Unknown Source)
>         at org.apache.derby.impl.store.access.RAMAccessManager.boot(Unknown Source)
>         at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
>         at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
>         at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source)
>         at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Unknown Source)
>         at org.apache.derby.impl.db.BasicDatabase.bootStore(Unknown Source)
>         at org.apache.derby.impl.db.BasicDatabase.boot(Unknown Source)
>         at org.apache.derby.impl.db.SlaveDatabase.bootBasicDatabase(Unknown Source)
>         at org.apache.derby.impl.db.SlaveDatabase.access$000(Unknown Source)
>         at org.apache.derby.impl.db.SlaveDatabase$SlaveDatabaseBootThread.run(Unknown
Source)
>         at java.lang.Thread.run(Thread.java:619)
> Caused by: ERROR 08006: Database '{0}' shutdown.
>         at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
>         at org.apache.derby.impl.store.raw.log.LogToFile.stopReplicationSlaveRole(Unknown
Source)
>         at org.apache.derby.impl.store.replication.slave.SlaveController.stopSlave(Unknown
Source)
>         at org.apache.derby.impl.store.replication.slave.SlaveController.access$500(Unknown
Source)
>         at org.apache.derby.impl.store.replication.slave.SlaveController$SlaveLogReceiverThread.run(Unknown
Source)
> ============= begin nested exception, level (1) ===========
> ERROR 08006: Database '{0}' shutdown.
>         at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
>         at org.apache.derby.impl.store.raw.log.LogToFile.stopReplicationSlaveRole(Unknown
Source)
>         at org.apache.derby.impl.store.replication.slave.SlaveController.stopSlave(Unknown
Source)
>         at org.apache.derby.impl.store.replication.slave.SlaveController.access$500(Unknown
Source)
>         at org.apache.derby.impl.store.replication.slave.SlaveController$SlaveLogReceiverThread.run(Unknown
Source)
> ============= end nested exception, level (1) ===========
> 
> 
> ------------  END SHUTDOWN ERROR STACK -------------
> 
> Replication slave role was stopped for database 'opensolaris'.
> 
> 2009-07-23 21:24:08.530 GMT:
> Shutting down instance 601a400f-0122-a88d-61ad-000031b5248d
> ----------------------------------------------------------------

-- 
Alan Burlison
--

Mime
View raw message