[SERVER-41576] Backup cursor returns relative paths from encrypted SE Created: 07/Jun/19  Updated: 29/Oct/23  Resolved: 08/Jun/19

Status: Closed
Project: Core Server
Component/s: Security, Storage
Affects Version/s: None
Fix Version/s: 4.2.0-rc1, 4.3.1

Type: Bug Priority: Major - P3
Reporter: Xiangyu Yao (Inactive) Assignee: Jonathan Reams
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.2
Sprint: Security 2019-06-17
Participants:

 Description   

It seems backup cursor returns relative paths for encrypted storage engine files

{
"filename" : "WiredTiger"
},
{
"filename" : "WiredTiger.backup"
},
{
"filename" : "keystore.wt"
},
{
"filename" : "WiredTigerLog.0000000003"
},
{
"filename" : "/srv/mongodb/replsnake-shard-0-node-0/key.store/keystore.metadata"
}
{
"filename" : "/srv/mongodb/replsnake-shard-0-node-0/WiredTiger"
},
{
"filename" : "/srv/mongodb/replsnake-shard-0-node-0/WiredTiger.backup"
}

"filename" : "keystore.wt" should instead be an absolute path "filename" : "/srv/mongodb/replsnake-shard-0-node-0/key.store/d529f31b-b4eb-4189-a9dd-ca216ea5cd9b/keystore.wt"



 Comments   
Comment by Githook User [ 10/Jun/19 ]

Author:

{'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}

Message: SERVER-41576 fix lint
Branch: v4.2
https://github.com/10gen/mongo-enterprise-modules/commit/666598b0ea84e4a647806c2a58edff1e9c4bf4c7

Comment by Githook User [ 08/Jun/19 ]

Author:

{'name': 'Jonathan Reams', 'email': 'jbreams@mongodb.com', 'username': 'jbreams'}

Message: SERVER-41576 Ensure ESE keystore hot backup files are absolute paths

(cherry picked from commit 3d68ba6f75631a782d91682bc99e43c3a5b72762)
Branch: v4.2
https://github.com/10gen/mongo-enterprise-modules/commit/53f46152342cb6e5db3693fc31fd2654ef9de031

Comment by Githook User [ 08/Jun/19 ]

Author:

{'name': 'Jonathan Reams', 'email': 'jbreams@mongodb.com', 'username': 'jbreams'}

Message: SERVER-41576 Ensure ESE keystore hot backup files are absolute paths
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/3d68ba6f75631a782d91682bc99e43c3a5b72762

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