bug fix: boltdb's read-only transaction can not be committed, use rollback instead