[SERVER-66167] compact - remove case for deleting all esc/ecc documents Created: 03/May/22  Updated: 29/Oct/23  Resolved: 04/May/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.0-rc5, 6.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Mark Benvenuto Assignee: Erwin Pe
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v6.0
Sprint: Security 2022-05-16
Participants:

 Description   

The current code optimizes the case when all values for a given field value pair are deleted by removing all documents in ESC and ECC.

Now, when a user deletes all field/value pairs. One null document should remain in ESC one null document in ECC, and one gap document in ECC.

In the code, remove the allEntriesDeleted clauses.



 Comments   
Comment by Githook User [ 05/May/22 ]

Author:

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

Message: SERVER-66167 remove case for deleting all esc/ecc entries in compact

(cherry picked from commit 32ea347de86eb649b5b1d196bbc4cb5411d1d26b)
Branch: v6.0
https://github.com/mongodb/mongo/commit/f32cf4f2d0474727c58c49943f212e83c51cf6eb

Comment by Githook User [ 05/May/22 ]

Author:

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

Message: SERVER-66167 remove case for deleting all esc/ecc entries in compact

(cherry picked from commit e90dadd82ddbfa2de7bcbd0e99ad93281a613769)
Branch: v6.0
https://github.com/10gen/mongo-enterprise-modules/commit/10b25c769b26f17bcba3debd74dcad6ee2cfa18f

Comment by Githook User [ 04/May/22 ]

Author:

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

Message: SERVER-66167 remove case for deleting all esc/ecc entries in compact
Branch: master
https://github.com/mongodb/mongo/commit/32ea347de86eb649b5b1d196bbc4cb5411d1d26b

Comment by Githook User [ 04/May/22 ]

Author:

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

Message: SERVER-66167 remove case for deleting all esc/ecc entries in compact
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/e90dadd82ddbfa2de7bcbd0e99ad93281a613769

Generated at Thu Feb 08 06:04:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.