forked from TrueCloudLab/frostfs-s3-gw
[#653] Support removal old unversioned objects
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
This commit is contained in:
parent
c0c99a1839
commit
4a430257a4
18 changed files with 289 additions and 61 deletions
|
@ -190,7 +190,9 @@ func Request(log *zap.Logger, settings RequestSettings) Func {
|
|||
fields := []zap.Field{zap.String("request_id", reqInfo.RequestID)}
|
||||
ctx, span := StartHTTPServerSpan(r, "REQUEST S3")
|
||||
if traceID := span.SpanContext().TraceID(); traceID.IsValid() {
|
||||
fields = append(fields, zap.String("trace_id", traceID.String()))
|
||||
traceIDStr := traceID.String()
|
||||
fields = append(fields, zap.String("trace_id", traceIDStr))
|
||||
reqInfo.TraceID = traceIDStr
|
||||
}
|
||||
lw := &traceResponseWriter{ResponseWriter: w, ctx: ctx, span: span}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue