[SERVER-33470] Log archival message, even if successful, in hook_test_archival.py Created: 23/Feb/18  Updated: 29/Oct/23  Resolved: 07/Sep/18

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 3.6.9, 4.0.4, 4.1.3

Type: Task Priority: Major - P3
Reporter: Jonathan Abrahams Assignee: Jonathan Abrahams
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
related to SERVER-33471 Archival should retry if a file canno... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0, v3.6
Sprint: TIG 2018-09-24
Participants:
Story Points: 1

 Description   

The archival message is only logged if there is an error submitting files for archive.

We should have a logger.info message even on success, as there could be files that were skipped during the tar process.



 Comments   
Comment by Githook User [ 08/Oct/18 ]

Author:

{'name': 'Jonathan Abrahams', 'email': 'jonathan@mongodb.com', 'username': 'hptabster'}

Message: SERVER-33470 Log archival message, even if successful, in hook_test_archival.py

(cherry picked from commit cbfd82be9efa5e0f6dd45d974d7fc729b989cb9c)
Branch: v3.6
https://github.com/mongodb/mongo/commit/102569db3158bfa5b70307251de156cee53182d0

Comment by Githook User [ 08/Oct/18 ]

Author:

{'name': 'Jonathan Abrahams', 'email': 'jonathan@mongodb.com', 'username': 'hptabster'}

Message: SERVER-33470 Log archival message, even if successful, in hook_test_archival.py

(cherry picked from commit cbfd82be9efa5e0f6dd45d974d7fc729b989cb9c)
Branch: v4.0
https://github.com/mongodb/mongo/commit/1a7552e160fdd413f87f876d0a4ac3dc00e37b92

Comment by Githook User [ 07/Sep/18 ]

Author:

{'name': 'Jonathan Abrahams', 'email': 'jonathan@mongodb.com', 'username': 'hptabster'}

Message: SERVER-33470 Log archival message, even if successful, in hook_test_archival.py
Branch: master
https://github.com/mongodb/mongo/commit/cbfd82be9efa5e0f6dd45d974d7fc729b989cb9c

Comment by Jonathan Abrahams [ 04/Jun/18 ]

Files skipped due to errors adding them to the tar archive are logged. This message would just log the archival has completed successfully, despite any other warning messages.

Comment by Max Hirschhorn [ 04/Jun/18 ]

jonathan.abrahams, are the files which were skipped during the tar process not logged elsewhere?

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