[SERVER-68956] FLE2 Range Query: adjust sparsity in createCollection Created: 18/Aug/22  Updated: 30/Aug/22  Resolved: 30/Aug/22

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

Type: Task Priority: Major - P3
Reporter: Sergey Galtsev (Inactive) Assignee: Sergey Galtsev (Inactive)
Resolution: Duplicate Votes: 0
Labels: FLE2, fle2
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-67755 FLE2 Range Query: implement insert Closed
Sprint: Security 2022-08-22, Security 2022-09-05
Participants:

 Description   

Per following note from seny.kamara@mongodb.com

No it does not have to be a power of two anymore; but we will be opinionated setting it and provide guidelines to customers

and per updated specifications, where sparsity must be at least 1 (otherwise division by zero happens):

createCollection should adopt a new definition of sparsity being a number from 1 to 4. Number 4 is chosen arbitrarily and could be later updated to a larger number. We must limit that number to a reasonably low value such that we don't find ourselves in situation where minCover would run out of memory because it would consist of purely leaf nodes



 Comments   
Comment by Sergey Galtsev (Inactive) [ 30/Aug/22 ]

This ticket will be covered by code change in SERVER-67755

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