Fixes for split-related EC queries #1163
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 project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#1163
Loading…
Reference in a new issue
No description provided.
Delete branch "fyrchik/frostfs-node:fix-last-part"
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?
Tested on dev-env
989f1ea63a
to6a5298a89b
Fixes for split-related EC queriesto WIP: Fixes for split-related EC queriesFor some reason, last part is not fetched from each node (which I would expect), investigating.
6a5298a89b
toc1cdd5d408
WIP: Fixes for split-related EC queriesto Fixes for split-related EC queriesThe bug was in race condition when both linking object and the last part were put on one shard.
c1cdd5d408
tof9efa85cbd
@ -405,3 +414,3 @@
}
func putUniqueIndexItem(tx *bbolt.Tx, item namedBucketItem) error {
func updateUniqueIndexItem(tx *bbolt.Tx, item namedBucketItem, update func(oldSI, newSI []byte) ([]byte, error)) error {
update func(oldSI, newSI []byte)
->update func(oldData, newData []byte)
or something else, but notSI
Fixed
f9efa85cbd
to3f1961157e