forked from TrueCloudLab/frostfs-node
[#1094] shard: remove TODO for shard mode description
It was added back in 2fb379b7
when we had many shard modes. Now we have
only two and comments for constants are rather descriptive.
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
ed7c732676
commit
418b553920
1 changed files with 0 additions and 2 deletions
|
@ -13,8 +13,6 @@ type Mode uint32
|
||||||
// that changes shard's memory due to the "read-only" shard's mode.
|
// that changes shard's memory due to the "read-only" shard's mode.
|
||||||
var ErrReadOnlyMode = errors.New("shard is in read-only mode")
|
var ErrReadOnlyMode = errors.New("shard is in read-only mode")
|
||||||
|
|
||||||
// TODO: more detailed description of shard modes.
|
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// ModeReadWrite is a Mode value for shard that is available
|
// ModeReadWrite is a Mode value for shard that is available
|
||||||
// for read and write operations. Default shard mode.
|
// for read and write operations. Default shard mode.
|
||||||
|
|
Loading…
Reference in a new issue