in src/main/scala/org/apache/pekko/persistence/dynamodb/journal/DynamoDBRecovery.scala [376:380]
def readAllSequenceNr(persistenceId: String, highest: Boolean): Future[Set[Long]] =
Future
.sequence(readSequenceNrBatches(persistenceId, highest).map(_.map(getAllSeqNr).recover {
case ex: Throwable => Nil
}))