├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── changelog.md ├── doc ├── README.md ├── design_spec.md ├── img │ ├── compaction.jpeg │ ├── journal-shards.jpeg │ └── spec │ │ ├── data-flow.jpg │ │ ├── find-key.jpg │ │ ├── get-all.jpg │ │ ├── log-after-merge.jpg │ │ ├── log-after-rollback.jpg │ │ ├── log-before-merge.jpg │ │ ├── log-over-two-files.jpg │ │ └── merge-iterator.jpg ├── store_format.md └── store_spec.md ├── lock.sbt ├── project ├── build.properties └── plugins.sbt └── src ├── main └── scala │ └── io │ └── iohk │ └── iodb │ ├── ByteArrayWrapper.scala │ ├── DataCorruptionException.scala │ ├── LogStore.scala │ ├── QuickStore.scala │ ├── ShardedIterator.scala │ ├── ShardedStore.scala │ ├── Store.scala │ └── Utils.java └── test └── scala └── io └── iohk └── iodb ├── ForkExecutor.scala ├── LogStoreTest.scala ├── QuickStoreRefTest.scala ├── ReferenceStore.scala ├── ShardedIteratorTest.scala ├── ShardedStoreTest.scala ├── StoreTest.scala ├── TestUtils.scala ├── TestWithTempDir.scala ├── bench ├── Benchmark.scala ├── BlockProcessing.scala ├── CompactionBench.scala ├── InitialProcessing.scala ├── LevelDBStore.scala ├── LongBench.scala ├── RocksStore.scala └── SimpleKVBench.scala ├── prop ├── IODBSpecification.scala └── StoreSpecification.scala └── smoke ├── M1Test.scala └── RandomRollbackTest.scala /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/README.md -------------------------------------------------------------------------------- /changelog.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/changelog.md -------------------------------------------------------------------------------- /doc/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/doc/README.md -------------------------------------------------------------------------------- /doc/design_spec.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/doc/design_spec.md -------------------------------------------------------------------------------- /doc/img/compaction.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/doc/img/compaction.jpeg -------------------------------------------------------------------------------- /doc/img/journal-shards.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/doc/img/journal-shards.jpeg -------------------------------------------------------------------------------- /doc/img/spec/data-flow.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/doc/img/spec/data-flow.jpg -------------------------------------------------------------------------------- /doc/img/spec/find-key.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/doc/img/spec/find-key.jpg -------------------------------------------------------------------------------- /doc/img/spec/get-all.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/doc/img/spec/get-all.jpg -------------------------------------------------------------------------------- /doc/img/spec/log-after-merge.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/doc/img/spec/log-after-merge.jpg -------------------------------------------------------------------------------- /doc/img/spec/log-after-rollback.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/doc/img/spec/log-after-rollback.jpg -------------------------------------------------------------------------------- /doc/img/spec/log-before-merge.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/doc/img/spec/log-before-merge.jpg -------------------------------------------------------------------------------- /doc/img/spec/log-over-two-files.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/doc/img/spec/log-over-two-files.jpg -------------------------------------------------------------------------------- /doc/img/spec/merge-iterator.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/doc/img/spec/merge-iterator.jpg -------------------------------------------------------------------------------- /doc/store_format.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/doc/store_format.md -------------------------------------------------------------------------------- /doc/store_spec.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/doc/store_spec.md -------------------------------------------------------------------------------- /lock.sbt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/lock.sbt -------------------------------------------------------------------------------- /project/build.properties: -------------------------------------------------------------------------------- 1 | sbt.version=0.13.13 2 | -------------------------------------------------------------------------------- /project/plugins.sbt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/project/plugins.sbt -------------------------------------------------------------------------------- /src/main/scala/io/iohk/iodb/ByteArrayWrapper.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/src/main/scala/io/iohk/iodb/ByteArrayWrapper.scala -------------------------------------------------------------------------------- /src/main/scala/io/iohk/iodb/DataCorruptionException.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/src/main/scala/io/iohk/iodb/DataCorruptionException.scala -------------------------------------------------------------------------------- /src/main/scala/io/iohk/iodb/LogStore.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/src/main/scala/io/iohk/iodb/LogStore.scala -------------------------------------------------------------------------------- /src/main/scala/io/iohk/iodb/QuickStore.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/src/main/scala/io/iohk/iodb/QuickStore.scala -------------------------------------------------------------------------------- /src/main/scala/io/iohk/iodb/ShardedIterator.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/src/main/scala/io/iohk/iodb/ShardedIterator.scala -------------------------------------------------------------------------------- /src/main/scala/io/iohk/iodb/ShardedStore.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/src/main/scala/io/iohk/iodb/ShardedStore.scala -------------------------------------------------------------------------------- /src/main/scala/io/iohk/iodb/Store.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/src/main/scala/io/iohk/iodb/Store.scala -------------------------------------------------------------------------------- /src/main/scala/io/iohk/iodb/Utils.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/src/main/scala/io/iohk/iodb/Utils.java -------------------------------------------------------------------------------- /src/test/scala/io/iohk/iodb/ForkExecutor.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/src/test/scala/io/iohk/iodb/ForkExecutor.scala -------------------------------------------------------------------------------- /src/test/scala/io/iohk/iodb/LogStoreTest.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/src/test/scala/io/iohk/iodb/LogStoreTest.scala -------------------------------------------------------------------------------- /src/test/scala/io/iohk/iodb/QuickStoreRefTest.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/src/test/scala/io/iohk/iodb/QuickStoreRefTest.scala -------------------------------------------------------------------------------- /src/test/scala/io/iohk/iodb/ReferenceStore.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/src/test/scala/io/iohk/iodb/ReferenceStore.scala -------------------------------------------------------------------------------- /src/test/scala/io/iohk/iodb/ShardedIteratorTest.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/src/test/scala/io/iohk/iodb/ShardedIteratorTest.scala -------------------------------------------------------------------------------- /src/test/scala/io/iohk/iodb/ShardedStoreTest.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/src/test/scala/io/iohk/iodb/ShardedStoreTest.scala -------------------------------------------------------------------------------- /src/test/scala/io/iohk/iodb/StoreTest.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/src/test/scala/io/iohk/iodb/StoreTest.scala -------------------------------------------------------------------------------- /src/test/scala/io/iohk/iodb/TestUtils.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/src/test/scala/io/iohk/iodb/TestUtils.scala -------------------------------------------------------------------------------- /src/test/scala/io/iohk/iodb/TestWithTempDir.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/src/test/scala/io/iohk/iodb/TestWithTempDir.scala -------------------------------------------------------------------------------- /src/test/scala/io/iohk/iodb/bench/Benchmark.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/src/test/scala/io/iohk/iodb/bench/Benchmark.scala -------------------------------------------------------------------------------- /src/test/scala/io/iohk/iodb/bench/BlockProcessing.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/src/test/scala/io/iohk/iodb/bench/BlockProcessing.scala -------------------------------------------------------------------------------- /src/test/scala/io/iohk/iodb/bench/CompactionBench.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/src/test/scala/io/iohk/iodb/bench/CompactionBench.scala -------------------------------------------------------------------------------- /src/test/scala/io/iohk/iodb/bench/InitialProcessing.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/src/test/scala/io/iohk/iodb/bench/InitialProcessing.scala -------------------------------------------------------------------------------- /src/test/scala/io/iohk/iodb/bench/LevelDBStore.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/src/test/scala/io/iohk/iodb/bench/LevelDBStore.scala -------------------------------------------------------------------------------- /src/test/scala/io/iohk/iodb/bench/LongBench.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/src/test/scala/io/iohk/iodb/bench/LongBench.scala -------------------------------------------------------------------------------- /src/test/scala/io/iohk/iodb/bench/RocksStore.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/src/test/scala/io/iohk/iodb/bench/RocksStore.scala -------------------------------------------------------------------------------- /src/test/scala/io/iohk/iodb/bench/SimpleKVBench.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/src/test/scala/io/iohk/iodb/bench/SimpleKVBench.scala -------------------------------------------------------------------------------- /src/test/scala/io/iohk/iodb/prop/IODBSpecification.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/src/test/scala/io/iohk/iodb/prop/IODBSpecification.scala -------------------------------------------------------------------------------- /src/test/scala/io/iohk/iodb/prop/StoreSpecification.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/src/test/scala/io/iohk/iodb/prop/StoreSpecification.scala -------------------------------------------------------------------------------- /src/test/scala/io/iohk/iodb/smoke/M1Test.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/src/test/scala/io/iohk/iodb/smoke/M1Test.scala -------------------------------------------------------------------------------- /src/test/scala/io/iohk/iodb/smoke/RandomRollbackTest.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/input-output-hk/iodb/HEAD/src/test/scala/io/iohk/iodb/smoke/RandomRollbackTest.scala --------------------------------------------------------------------------------