Done
Details
Details
Assignee
Robert Golebiowski
Robert Golebiowski(Deactivated)Reporter
Robert Golebiowski
Robert Golebiowski(Deactivated)Labels
Time tracking
4h logged
Fix versions
Priority
Smart Checklist
Smart Checklist
Created April 16, 2019 at 10:38 AM
Updated March 6, 2024 at 12:13 PM
Resolved November 27, 2019 at 3:57 PM
When page is encrypted it gets key version assigned before it is written to disk. However when page is created in buffer, even though it belongs to encrypted space it will not get key version assigned, only after syncing to disk. Encryption threads can take this page for unencrypted one and report there are unencrypted pages in the tablespace and thus mark whole tablespace as unencrypted. The best way would be to assign key version for each new block created in a space, but I would need to cover all the paths from space to buf - to propagate the key version, and that would be a big diff. Thus it possibly be better if encryption threads knew if that page was created in a buffer and assign the proper key version to that page.