[#644] Support keepalive during listing #644
No reviewers
TrueCloudLab/storage-services-developers
TrueCloudLab/storage-services-committers
Labels
No labels
P0
P1
P2
P3
good first issue
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-s3-gw#644
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "dkirillov/frostfs-s3-gw:feature/wait_slow_listing"
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?
Send whitespaces every time as new object in list is ready
to prevent client from context cancelling.
Signed-off-by: Denis Kirillov d.kirillov@yadro.com
[#XX] Support keepalive during listingto [#644] Support keepalive during listingeb3adf23a8
tod7881c9f5e
d7881c9f5e
todd9f2c931c
dd9f2c931c
to1197216286
1197216286
to281de60575
@ -147,0 +153,4 @@
}
return WriteResponseBody(w, encodedErrorResponse)
}
Just to be sure, these new response functions were previously used when gateway sent keepalive bytes in CompleteMultipartUpload, right?
@ -73,6 +73,8 @@ const (
defaultTombstoneMembersSize = 100
defaultTombstoneWorkerPoolSize = 100
defaultListingKeepaliveThrottle = 10 * time.Second
I would like to enable keepalive only when throttling setting is set up. Can we allow default zero value and do nothing in goroutine that sends whitespaces in this case + test?
@ -236,1 +236,4 @@
default_namespaces: [ "", "root" ]
# During listing the s3 gate sends whitespaces to client to prevent it from cancelling request.
# The gate do send every time when new object is handled.
# Use this parameter to limit such sends by one per provided duration.
I would rephrase this a bit along with a possibility to enable/disable whitespaces.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.