-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how do we get scaled
from a RevIndex
?
#3386
Comments
luiz:
|
feels like this gels a bit with #3387, which is updating I think the idea would be to make sure that RocksDB-revindex are built only from Looking at the code, we might want to introduce an explicit impl TryFrom<Collection> for CollectionSet {
type Error = crate::Error;
fn try_from(collection: Collection) -> Result<Self> {
let first = if let Some(first) = collection.manifest.first() {
first
} else {
// empty collection is consistent ¯\_(ツ)_/¯
return Ok(Self { collection });
};
collection
.manifest
.iter()
.skip(1)
.try_for_each(|c| first.check_compatible(c))?;
Ok(Self { collection })
}
}
impl CollectionSet {
pub fn into_inner(self) -> Collection {
self.collection
}
pub fn selection(&self) -> Selection {
todo!("Extract selection from first sig")
}
...
} |
ok, I'm hesitating to run a |
In #3397, I add |
from slack -
me:
luizirber:
me:
code in
manysearch_rocksdb.rs
over insourmash_plugin_branchwater
:The text was updated successfully, but these errors were encountered: