Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-2095

apacheds-2.0.0-M19: bogus block id error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • None
    • None
    • jdbm
    • None

    Description

      We are getting following error when a concurrent test (mixed of read and write scenarios) is run:

      Exception in thread "main" java.lang.Error: ERR_539_BAD_BLOCK_ID bogus block id -5,938,146,449,721,577,426, it should not be negative
      at jdbm.recman.BlockIo.setBlockId(BlockIo.java:138)
      at jdbm.recman.RecordFile.getNewNode(RecordFile.java:442)
      at jdbm.recman.RecordFile.get(RecordFile.java:189)
      at jdbm.recman.PhysicalRowIdManager.fetch(PhysicalRowIdManager.java:128)
      at jdbm.recman.BaseRecordManager.fetch(BaseRecordManager.java:323)
      at jdbm.recman.CacheRecordManager.fetch(CacheRecordManager.java:264)
      at jdbm.btree.BTree.getRoot(BTree.java:552)
      at jdbm.btree.BTree.find(BTree.java:405)
      at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmTable.get(JdbmTable.java:344)
      at org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition.fetch(AbstractBTreePartition.java:1264)
      at org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition.lookup(AbstractBTreePartition.java:1192)
      at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.doInit(JdbmPartition.java:250)
      at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:89)
      at org.apache.directory.server.core.shared.partition.DefaultPartitionNexus.addContextPartition(DefaultPartitionNexus.java:800)
      at org.apache.directory.server.core.shared.partition.DefaultPartitionNexus.doInit(DefaultPartitionNexus.java:224)
      at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:89)
      at org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:1807)
      at org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:1244)
      at org.apache.directory.server.ApacheDsService.initDirectoryService(ApacheDsService.java:323)
      at org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:182)
      at org.apache.directory.server.UberjarMain.start(UberjarMain.java:76)
      at org.apache.directory.server.UberjarMain.main(UberjarMain.java:54)

      Attachments

        Activity

          People

            Unassigned Unassigned
            shailesh.mishra@hcentive.com Shailesh K Mishra
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: