forked from TrueCloudLab/frostfs-node
[#1687] *: Perform go fmt
using go v1.19
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
37ab26bfa9
commit
30341f2192
25 changed files with 114 additions and 112 deletions
|
@ -95,10 +95,10 @@ func (db *DB) exists(tx *bbolt.Tx, addr oid.Address, currEpoch uint64) (exists b
|
|||
}
|
||||
|
||||
// objectStatus returns:
|
||||
// * 0 if object is available;
|
||||
// * 1 if object with GC mark;
|
||||
// * 2 if object is covered with tombstone;
|
||||
// * 3 if object is expired.
|
||||
// - 0 if object is available;
|
||||
// - 1 if object with GC mark;
|
||||
// - 2 if object is covered with tombstone;
|
||||
// - 3 if object is expired.
|
||||
func objectStatus(tx *bbolt.Tx, addr oid.Address, currEpoch uint64) uint8 {
|
||||
// we check only if the object is expired in the current
|
||||
// epoch since it is considered the only corner case: the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue