xadisk
  1. xadisk
  2. XADISK-139

XASystemBootFailureException when starting XADisk on a large data set

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: 1.2.1
    • Fix Version/s: None
    • Component/s: filesystem
    • Labels:
      None
    • Environment:

      Description

      The startup exception shown below occurred when starting XADisk on a large data set after the system has been stopped regularly (though I cannot guarantee that XADisk shut down in time. At least I can say that no crash or kill -9 occurred immediately before.

      I could in principle provide the xadisk transaction directory, but it is quite large (31 GB; mostly transaction logs).

      This is not yet a production system, so I can still recover by deleting the xa stores.

      org.xadisk.filesystem.exceptions.XASystemBootFailureException: The XADisk instance has encoutered a critial issue and could not be booted. Such a condition is very rare. If you think you have setup everything right for XADisk to work, please consider discussing in XADisk forums, or raising a bug with details.
      at org.xadisk.filesystem.NativeXAFileSystem.<init>(NativeXAFileSystem.java:187)
      at org.xadisk.filesystem.NativeXAFileSystem.bootXAFileSystemStandAlone(NativeXAFileSystem.java:219)
      at org.xadisk.bridge.proxies.interfaces.XAFileSystemProxy.bootNativeXAFileSystem(XAFileSystemProxy.java:47)
      at de.konzentrik.lib.io.XaDisk.initLocal(XaDisk.java:43)
      at de.konzentrik.app.preprocess.PreprocessorModule.doStartup(PreprocessorModule.java:79)
      at de.zarncke.lib.sys.module.AbstractModule.startOrRestart(AbstractModule.java:126)
      at de.zarncke.lib.sys.Headquarters.startOrRestart(Headquarters.java:450)
      at de.zarncke.lib.sys.Headquarters.startOrRestart(Headquarters.java:452)
      at de.zarncke.lib.sys.Headquarters.startOrRestart(Headquarters.java:446)
      at de.konzentrik.app.preprocess.PreprocessorInstallation.doBootProtected(PreprocessorInstallation.java:202)
      at de.konzentrik.app.preprocess.PreprocessorInstallation.boot(PreprocessorInstallation.java:158)
      at de.konzentrik.app.preprocess.Start.run(Start.java:164)
      at de.zarncke.lib.block.Running.execute(Running.java:5)
      at de.zarncke.lib.block.Running.execute(Running.java:3)
      at de.zarncke.lib.err.Warden.guard(Warden.java:313)
      at de.konzentrik.app.StartBase.executeGuarded(StartBase.java:216)
      at de.konzentrik.app.preprocess.Start$1.run(Start.java:190)
      Caused by: java.nio.BufferUnderflowException
      at java.nio.Buffer.nextGetIndex(Buffer.java:480)
      at java.nio.HeapByteBuffer.getInt(HeapByteBuffer.java:336)
      at org.xadisk.filesystem.TransactionLogEntry.parseLogEntry(TransactionLogEntry.java:319)
      at org.xadisk.filesystem.TransactionLogEntry.getNextTransactionLogEntry(TransactionLogEntry.java:521)
      at org.xadisk.filesystem.workers.CrashRecoveryWorker.findInCompleteTransactions(CrashRecoveryWorker.java:139)
      at org.xadisk.filesystem.workers.CrashRecoveryWorker.collectRecoveryData(CrashRecoveryWorker.java:99)
      at org.xadisk.filesystem.NativeXAFileSystem.<init>(NativeXAFileSystem.java:181)

        Activity

        Hide
        gunnar_zarncke added a comment -

        I have had another such XASystemBootFailureException.
        This time with a much smaller data set (8.7 MB in xa disk directory).
        I copied that and might provide it for analysis.

        Note: I get no notices when you, Nitin, comment on the issues.
        I might like to get in direct contact. You can reach me at gunnar at konzentrik.de.

        Show
        gunnar_zarncke added a comment - I have had another such XASystemBootFailureException. This time with a much smaller data set (8.7 MB in xa disk directory). I copied that and might provide it for analysis. Note: I get no notices when you, Nitin, comment on the issues. I might like to get in direct contact. You can reach me at gunnar at konzentrik.de.
        Hide
        gunnar_zarncke added a comment -

        I sent you two occurrences of crashes via mail. I am not sure if these have the same cause, but maybe you can make something out of it.

        Show
        gunnar_zarncke added a comment - I sent you two occurrences of crashes via mail. I am not sure if these have the same cause, but maybe you can make something out of it.

          People

          • Assignee:
            Nitin Verma
            Reporter:
            gunnar_zarncke
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: