private Configuration confFromMeta(final SnapshotMeta meta) {
        final Configuration conf = new Configuration();
        for (int i = 0; i < meta.getPeersCount(); i++) {
            final PeerId peer = new PeerId();
            peer.parse(meta.getPeers(i));
            conf.addPeer(peer);
        }
        for (int i = 0; i < meta.getLearnersCount(); i++) {
            final PeerId peer = new PeerId();
            peer.parse(meta.getLearners(i));
            conf.addLearner(peer);
        }
        return conf;
    }
Adds event to disk queue, NEVER call it in lock.
@param done
@param type
jraft-core/src/main/java/com/alipay/sofa/jraft/storage/impl/LogManagerImpl.java