Project

General

Profile

Actions

Bug #2470

closed

Bug #2415: Rudder Configuration Rules reports error when a copy of file is initiated and requires a lot of time to be done.

PT copyGitFile: make copy method configurable (md5, mtime, ctime, etc)

Added by Nicolas PERRON over 12 years ago. Updated almost 10 years ago.

Status:
Released
Priority:
1 (highest)
Assignee:
Nicolas PERRON
Category:
-
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Before the fix, all copies were made with a MD5sum comparaison which results in latencies for heavy files.
In order to avoid this situation, we have added the possibility in the Policy Template to choose the type of comparaison methods with mtime by default which take a shortest time than MD5.

applied in commit:56e4d7748b1007dffa33a4597c6d188b4eb18e35
applied in commit:d22a933b1170eec64d3cc313c710404027a34918
applied in commit:04f992f20982a8522eeeaaa8fc9b39019dbe4238
applied in commit:61c862ee0046dddac0357a44621f65e11f50a61d
applied in commit:1a29bd3d550eccd11047cf203ec69f17fa9bc5c6

Actions #1

Updated by Nicolas PERRON over 12 years ago

  • % Done changed from 0 to 100
Actions #2

Updated by Matthieu CERDA over 12 years ago

I corrected the description and added the omitted binary method, but the correction seems OK !

Actions #3

Updated by Jonathan CLARKE over 12 years ago

  • Status changed from Pending technical review to Released

Well noticed Matthieu, thanks. This (still) looks good to me.

Actions

Also available in: Atom PDF