Revert "revert-revert-erasure and erasure fixes (#3833)" (#3855)

This reverts commit 6bef16a6a1.
This commit is contained in:
Pankaj Garg
2019-04-17 18:04:30 -07:00
committed by GitHub
parent 78d5ace754
commit 596f611ede
13 changed files with 784 additions and 702 deletions

View File

@ -138,6 +138,7 @@ impl TypedColumn<Kvs> for cf::SlotMeta {
type Type = super::SlotMeta;
}
#[cfg(feature = "erasure")]
impl Column<Kvs> for cf::ErasureMeta {
const NAME: &'static str = super::ERASURE_META_CF;
type Index = (u64, u64);
@ -156,6 +157,7 @@ impl Column<Kvs> for cf::ErasureMeta {
}
}
#[cfg(feature = "erasure")]
impl TypedColumn<Kvs> for cf::ErasureMeta {
type Type = super::ErasureMeta;
}