Hi,

I have a controller with two backends one enabled and one disabled.

After sometimes, I want to enable the second backend.

So I use the JMX method enableBackendFromCheckpoint.

During the recovery process every access to the two
Backends are suspended so if a write request occurred during the
recovery process it will be delayed.

The code of the method AbstractScheduler.addSuspendedRequest is
    synchronized (suspendedRequests)
    {
      suspendedRequests.add(obj);
    }
    synchronized (totalOrderQueue)
    {
      totalOrderQueue.notifyAll();
    }

But if the VirtualDatabase is not a DistributedVirtualDatabase,
the field totalOrderQueue queue is null and a NPE is thrown.

Is it a bug or I cannot do this?

Xavier.

_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia

Reply via email to