mirror of
https://github.com/nspcc-dev/neofs-http-gw.git
synced 2026-03-01 04:29:08 +00:00
After deleting an object, you can download it via http #81
Labels
No labels
I1
I3
I4
S2
S3
S4
U2
U2
U3
U4
blocked
bug
config
documentation
enhancement
go
good first issue
help wanted
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nspcc-dev/neofs-http-gw#81
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Originally created by @acheyda on GitHub (Oct 5, 2022).
Originally assigned to: @KirillovDenis on GitHub.
After deleting an object, you can download it via http
Expected Behavior
Current Behavior
#Put an object in a container:
#Download an object:
#Change the Epoch:
<neofs-adm -c configuration/config.yaml morph force-new-epoch>#Delete an object:
#Download an object http, http with attribute, grpc:
#Additional verification:
#I will assume that the epoch does not affect, after several changes of epochs the result will remain the same.
#After about 10 m the files are different but continues to be visible oid:
Your Environment
NeoFS Storage node
Version: v0.31.0
GoVersion: go1.18.4
NeoFS HTTP Gateway
Version: v0.23.0-dirty
GoVersion: go1.18.4
@KirillovDenis commented on GitHub (Oct 6, 2022):
I couldn't reproduce this bug on local machine.
@acheyda Can you provide some additional info:
Also it would be nice to check this on master
http-gwandneofs-node@KirillovDenis commented on GitHub (Oct 6, 2022):
It seems that requests are made through nginx which caches responses.
@acheyda check this please
@acheyda commented on GitHub (Oct 6, 2022):
Without specifying a port, requests pass through nginx (port 80), which caches responses.
After a direct request to http-gw (port 8888), the behavior is expected - the object is not located.