mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-27 15:37:02 +00:00
chore: upgrade dependencies and migrate to aws-lc-rs (#1333)
This commit is contained in:
@@ -270,14 +270,12 @@ impl ReplicationState {
|
||||
return repl_status;
|
||||
}
|
||||
|
||||
if repl_status == ReplicationStatusType::Completed {
|
||||
if let (Some(replica_timestamp), Some(replication_timestamp)) =
|
||||
if repl_status == ReplicationStatusType::Completed
|
||||
&& let (Some(replica_timestamp), Some(replication_timestamp)) =
|
||||
(self.replica_timestamp, self.replication_timestamp)
|
||||
{
|
||||
if replica_timestamp > replication_timestamp {
|
||||
return self.replica_status.clone();
|
||||
}
|
||||
}
|
||||
&& replica_timestamp > replication_timestamp
|
||||
{
|
||||
return self.replica_status.clone();
|
||||
}
|
||||
|
||||
return repl_status;
|
||||
|
||||
Reference in New Issue
Block a user