Refactor reputation service #212
No reviewers
Labels
No labels
P0
P1
P2
P3
badger
frostfs-adm
frostfs-cli
frostfs-ir
frostfs-lens
frostfs-node
good first issue
triage
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#212
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "dstepanov-yadro/frostfs-node:refactoring/object-3610-reputation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Resolve linters.
Rename context structs and interfaces to be understandable.
c0b73dda74
to65a07878a2
WIP: Refactor reputation serviceto Refactor reputation serviceLGTM
@ -11,3 +10,1 @@
// nolint: containedctx
type EpochContext struct {
context.Context
// EpochProvider ...
EpochProvider is a constant/dummy epoch source
?yes
I mean what is
...
comment for?Lazy developer detected: it's me.
Followed this rule:
(from https://github.com/golang/go/wiki/CodeReviewComments#doc-comments)
As I see it, we do not have such a rule. Deleted the comment.
@ -15,3 +13,3 @@
}
func (ctx *EpochContext) Epoch() uint64 {
func (ctx *EpochProvider) Epoch() uint64 {
It's no longer
ctx
, I guess?fixed
65a07878a2
to1bc3d79ddd
1bc3d79ddd
tofc4f4b7533