mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-26 17:40:37 +00:00
cargo fmt
This commit is contained in:
@@ -870,7 +870,6 @@ impl<'a> ObjectHistory<'a> {
|
||||
|
||||
fn next_result(&mut self) -> Result<Option<RelationUpdate>> {
|
||||
while let Some((object_tag, lsn, value)) = self.iter.next().transpose()? {
|
||||
|
||||
let (rel_tag, update) = match object_tag {
|
||||
ObjectTag::TimelineMetadataTag => continue,
|
||||
ObjectTag::RelationMetadata(rel_tag) => {
|
||||
@@ -879,7 +878,7 @@ impl<'a> ObjectHistory<'a> {
|
||||
Some(relation_update) => (rel_tag, relation_update),
|
||||
None => continue,
|
||||
}
|
||||
},
|
||||
}
|
||||
ObjectTag::RelationBuffer(buf_tag) => {
|
||||
let entry = PageEntry::des(&value)?;
|
||||
let update = self.handle_page(buf_tag, entry);
|
||||
|
||||
@@ -168,8 +168,7 @@ impl ObjectStore for RocksObjectStore {
|
||||
{
|
||||
break;
|
||||
}
|
||||
if key.lsn < lsn
|
||||
{
|
||||
if key.lsn < lsn {
|
||||
// visible in this snapshot
|
||||
rels.insert(rel_tag);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user