[SERVER-60281] Move compression out of the critical section for audit log encryption Created: 28/Sep/21  Updated: 29/Oct/23  Resolved: 29/Sep/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.1.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Gabriel Marks Assignee: Erwin Pe
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
Backwards Compatibility: Fully Compatible
Sprint: Security 2021-10-04
Participants:
Linked BF Score: 70

 Description   

Currently, when RotatableAuditFileAppender writes out, it compresses, encrypts, and writes to file, holding the file lock the entire time. Compression doesn't need to be in this critical section.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 05/Oct/21 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-60281 fix audit_test when ssl provider is not openssl
Branch: fausto.leyva/SERVER-57826
https://github.com/10gen/mongo-enterprise-modules/commit/b001b6186ff4eb2874e9da70d5a94dee769ac826

Comment by Githook User [ 05/Oct/21 ]

Author:

{'name': 'Erwin Pe', 'email': 'erwin.pe@mongodb.com', 'username': 'erwee'}

Message: SERVER-60281 Move compression out of the critical section for audit log encryption
Branch: fausto.leyva/SERVER-57826
https://github.com/10gen/mongo-enterprise-modules/commit/fd1117875097ecf2ab538cd9baa80cc1984d5a1f

Comment by Githook User [ 03/Oct/21 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-60281 fix audit_test when ssl provider is not openssl
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/b001b6186ff4eb2874e9da70d5a94dee769ac826

Comment by Githook User [ 29/Sep/21 ]

Author:

{'name': 'Erwin Pe', 'email': 'erwin.pe@mongodb.com', 'username': 'erwee'}

Message: SERVER-60281 Move compression out of the critical section for audit log encryption
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/fd1117875097ecf2ab538cd9baa80cc1984d5a1f

Generated at Thu Feb 08 05:49:24 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.