CLDSRV-839: Multi delete raftSession in logs#6061
Conversation
Hello bourgoismickael,My role is to assist you with the merge of this Available options
Available commands
Status report is not available. |
Codecov Report❌ Patch coverage is
Additional details and impacted files
@@ Coverage Diff @@
## development/9.2 #6061 +/- ##
===================================================
+ Coverage 84.41% 84.44% +0.02%
===================================================
Files 206 206
Lines 13038 13068 +30
===================================================
+ Hits 11006 11035 +29
- Misses 2032 2033 +1
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
0843e4b to
9c6c2be
Compare
Each key in a multi object delete has a line in logs This line should be filtered out of access_logs for cloudserver aggregated table in s3 analytics
- time fields (elapsed_ms, totalTime) - requestURI
9c6c2be to
76c80d4
Compare
| }); | ||
| // Log successful deletion with object size | ||
| const objectSize = objMD && objMD['content-length'] ? objMD['content-length'] : null; | ||
| logBatchDeleteObject(request, requestID, entry.key, objectSize, null); |
There was a problem hiding this comment.
The log should be done in onFinish in server.js for the timers to be correct.
There was a problem hiding this comment.
internal requests (both batch delete and REST.COPY.*_GET doesn't hold any timing information
There was a problem hiding this comment.
But maybe instead of logging immediately I could store the objects and queue them in memory to log everything at the end with this regular log. But that would put a little more memory usage
There was a problem hiding this comment.
Change the behavior to queue each internal request to log them at the end of request: f7a31fb
Request integration branchesWaiting for integration branch creation to be requested by the user. To request integration branches, please comment on this pull request with the following command: Alternatively, the |
To be written after request finish. There can be up to 1000 items in queue during request. Memory usage should be limited
|
/approve |
Integration data createdI have created the integration data for the additional destination branches.
The following branches will NOT be impacted:
You can set option The following options are set: approve |
In the queueThe changeset has received all authorizations and has been added to the The changeset will be merged in:
The following branches will NOT be impacted:
There is no action required on your side. You will be notified here once IMPORTANT Please do not attempt to modify this pull request.
If you need this pull request to be removed from the queue, please contact a The following options are set: approve |
Queue build failedThe corresponding build for the queue failed:
Remove the pull request from the queue
|
|
I have successfully merged the changeset of this pull request
The following branches have NOT changed:
Please check the status of the associated issue CLDSRV-839. Goodbye bourgoismickael. |
REST.POST.OBJECT=>REST.POST.MULTI_OBJECT_DELETEBATCH.DELETE.OBJECTlines for each key