metatron-app/metatron-discovery

Fix exception in schema when segment removed

navis opened this issue · 0 comments

navis commented
Exception in thread "schema-callback" java.util.NoSuchElementException
	at java.base/java.util.ArrayList$Itr.next(ArrayList.java:1000)
	at com.google.common.collect.Iterators.getOnlyElement(Iterators.java:297)
	at com.google.common.collect.Iterables.getOnlyElement(Iterables.java:285)
	at io.druid.common.utils.Sequences.only(Sequences.java:316)
	at io.druid.sql.calcite.table.DruidTable.build(DruidTable.java:448)
	at io.druid.sql.calcite.table.DruidTable.lambda$update$0(DruidTable.java:145)
	at com.google.common.base.Suppliers$MemoizingSupplier.get(Suppliers.java:125)
	at io.druid.sql.calcite.table.DruidTable.update(DruidTable.java:156)
	at io.druid.sql.calcite.schema.DruidSchema$1.segmentRemoved(DruidSchema.java:106)