This intermittently produces the following exception.
It appears that using RocksDB.ColumnFamilyHandle is the cause. My understanding is that ImmutableListMultimap should allow multiple objects to be stored under the same key as per:
https://guava.dev/releases/23.0/api/docs/com/google/common/collect/Multimaps.html#index-java.lang.Iterable-com.google.common.base.Function-java.lang.IllegalArgumentException: Multiple entries with same key: org.rocksdb.ColumnFamilyHandle@6d97c642=[2] and org.rocksdb.ColumnFamilyHandle@ae6da094=[1]at com.google.common.collect.ImmutableMap.conflictException(ImmutableMap.java:211)
at com.google.common.collect.ImmutableMap.checkNoConflict(ImmutableMap.java:205)
at com.google.common.collect.RegularImmutableMap.checkNoConflictInKeyBucket(RegularImmutableMap.java:146)
at com.google.common.collect.RegularImmutableMap.fromEntryArray(RegularImmutableMap.java:109)
at com.google.common.collect.ImmutableMap$Builder.build(ImmutableMap.java:390)
at com.google.common.collect.ImmutableListMultimap.fromMapEntries(ImmutableListMultimap.java:373)
at com.google.common.collect.ImmutableMultimap$Builder.build(ImmutableMultimap.java:292)
at com.google.common.collect.ImmutableListMultimap$Builder.build(ImmutableListMultimap.java:302)
at com.google.common.collect.Multimaps.index(Multimaps.java:1660)
at com.google.common.collect.Multimaps.index(Multimaps.java:1612)
at com.dremio.nessie.versioned.store.rocksdb.TestRocksDBStore.createMultimap(TestRocksDBStore.java:155)
at com.dremio.nessie.versioned.store.rocksdb.TestRocksDBStore.saveMultiple(TestRocksDBStore.java:161)