[#88] min aggregator bug fixed, tests added #164
No reviewers
TrueCloudLab/storage-services-committers
TrueCloudLab/storage-services-developers
Labels
No labels
P0
P1
P2
P3
good first issue
pool
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
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-sdk-go#164
Loading…
Reference in a new issue
No description provided.
Delete branch "AndrewDanilin/frostfs-sdk-go:88-fix_min_aggregator_and_add_tests_for_them"
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?
It is a common practice to write commit message imperatively. Could you add a commit sign-off like a
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
- we have CI step which is failed.Details here https://git.frostfs.info/TrueCloudLab/frostfs-sdk-go/actions/runs/327/jobs/0
820a301172
tob8a0444ddd
WIP: [#88] min aggregator bug fixed, tests addedto [#88] min aggregator bug fixed, tests added[#88] min aggregator bug fixed, tests addedto [#88] min aggregator bug fixed, tests addednetmap:
-- like others in this repo, this would make looking at history much easier.@ -24,3 +24,3 @@
minAgg struct {
min float64
min *float64
What about having a bool field like
minFound bool
? (with a meaningminFound == true
if and only ifa.min != nil
in the current implementation.Your solution is correct, however it allocates (didn't check, but it should). We execute this routine on every operation with an object, so no allocations would be nice here.
Good advice, I'll change it.
Also, commit message should start with an imperative: not
... fixed
, butfix ...
b8a0444ddd
toc8d82dae38
c8d82dae38
to5f8e9917ee
c352ec1c93
to5e51e7dcae
5e51e7dcae
toc0780510aa