aboutsummaryrefslogtreecommitdiffstats
path: root/storage/src/vespa/storage/distributor/operations/external/newest_replica.cpp
blob: d2795f4c2ee5288405d43449e5830d99ffb4b9ca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "newest_replica.h"
#include <ostream>

namespace storage::distributor {

std::ostream& operator<<(std::ostream& os, const NewestReplica& nr) {
    os << "NewestReplica(timestamp " << nr.timestamp
       << ", bucket_id " << nr.bucket_id
       << ", node " << nr.node
       << ", is_tombstone " << nr.is_tombstone
       << ", condition_matched " << nr.condition_matched
       << ')';
    return os;
}

}