From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id E52EB1FF173 for ; Mon, 25 Nov 2024 11:38:19 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 778D5FC4E; Mon, 25 Nov 2024 11:38:18 +0100 (CET) Date: Mon, 25 Nov 2024 11:37:41 +0100 From: Fabian =?iso-8859-1?q?Gr=FCnbichler?= To: Proxmox Backup Server development discussion References: <20241122121617.185615-1-g.goller@proxmox.com> In-Reply-To: <20241122121617.185615-1-g.goller@proxmox.com> MIME-Version: 1.0 User-Agent: astroid/0.16.0 (https://github.com/astroidmail/astroid) Message-Id: <1732530754.o6m38usul0.astroid@yuna.none> X-SPAM-LEVEL: Spam detection results: 0 AWL 0.047 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pbs-devel] applied-series: [PATCH proxmox-backup v6 0/4] fix #3786: resync corrupt chunks in sync-job X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox Backup Server development discussion Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: pbs-devel-bounces@lists.proxmox.com Sender: "pbs-devel" d2l0aCBzb21lIHNsaWdodCByZWJhc2luZyAoY29udGV4dCksIGFuZCBvbmUgZm9sbG93LXVwIHBh dGNoOgoKU3ViamVjdDogW1BBVENIIHByb3htb3gtYmFja3VwXSBzeW5jIGNvbmZpZzogZm9yYmlk IHNldHRpbmcgcmVzeW5jX2NvcnJ1cHQgZm9yCgp0aGV5IGRvbid0IHN1cHBvcnQgaXQgKHlldCks IHNvIGRvbid0IGFsbG93IHNldHRpbmcgaXQgaW4gdGhlIGJhY2tlbmQgZWl0aGVyLgoKU2lnbmVk LW9mZi1ieTogRmFiaWFuIEdyw7xuYmljaGxlciA8Zi5ncnVlbmJpY2hsZXJAcHJveG1veC5jb20+ Ci0tLQogc3JjL2FwaTIvY29uZmlnL3N5bmMucnMgfCA4ICsrKysrKysrCiAxIGZpbGUgY2hhbmdl ZCwgOCBpbnNlcnRpb25zKCspCgpkaWZmIC0tZ2l0IGEvc3JjL2FwaTIvY29uZmlnL3N5bmMucnMg Yi9zcmMvYXBpMi9jb25maWcvc3luYy5ycwppbmRleCA3ZmY2Y2FlMDIuLmFmYWEwZDVlNCAxMDA2 NDQKLS0tIGEvc3JjL2FwaTIvY29uZmlnL3N5bmMucnMKKysrIGIvc3JjL2FwaTIvY29uZmlnL3N5 bmMucnMKQEAgLTIyOSw2ICsyMjksMTAgQEAgcHViIGZuIGNyZWF0ZV9zeW5jX2pvYigKICAgICAg ICAgYmFpbCEoInNvdXJjZSBhbmQgdGFyZ2V0IGRhdGFzdG9yZSBjYW4ndCBiZSB0aGUgc2FtZSIp OwogICAgIH0KIAorICAgIGlmIHN5bmNfZGlyZWN0aW9uID09IFN5bmNEaXJlY3Rpb246OlB1c2gg JiYgY29uZmlnLnJl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j4gIHBicy1kYXRhc3RvcmUvc3JjL21hbmlmZXN0LnJzICAgICB8 IDE0ICsrKysrLQo+ICBzcmMvYXBpMi9hZG1pbi9kYXRhc3RvcmUucnMgICAgICAgfCAxNiArKyst LS0tCj4gIHNyYy9hcGkyL2JhY2t1cC9tb2QucnMgICAgICAgICAgICB8IDE4ICsrKysrLS0tCj4g IHNyYy9hcGkyL2NvbmZpZy9zeW5jLnJzICAgICAgICAgICB8ICA0ICsrCj4gIHNyYy9hcGkyL3B1 bGwucnMgICAgICAgICAgICAgICAgICB8ICA5ICsrKy0KPiAgc3JjL2JhY2t1cC92ZXJpZnkucnMg ICAgICAgICAgICAgIHwgMTMgKysrLS0tCj4gIHNyYy9iaW4vcHJveG1veC1iYWNrdXAtbWFuYWdl ci5ycyB8IDE2ICsrKysrKy0KPiAgc3JjL3NlcnZlci9wdWxsLnJzICAgICAgICAgICAgICAgIHwg NzIgKysrKysrKysrKysrKysrKysrKysrKysrLS0tLS0tLQo+ICB3d3cvd2luZG93L1N5bmNKb2JF ZGl0LmpzICAgICAgICAgfCAxNCArKysrKysKPiAgMTIgZmlsZXMgY2hhbmdlZCwgMTU4IGluc2Vy dGlvbnMoKyksIDQzIGRlbGV0aW9ucygtKQo+IAo+IAo+IFN1bW1hcnkgb3ZlciBhbGwgcmVwb3Np dG9yaWVzOgo+ICAgMTIgZmlsZXMgY2hhbmdlZCwgMTU4IGluc2VydGlvbnMoKyksIDQzIGRlbGV0 aW9ucygtKQo+IAo+IC0tIAo+IEdlbmVyYXRlZCBieSBnaXQtbXVycHAgMC43LjEKPiAKPiAKPiBf X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwo+IHBicy1kZXZl bCBtYWlsaW5nIGxpc3QKPiBwYnMtZGV2ZWxAbGlzdHMucHJveG1veC5jb20KPiBodHRwczovL2xp c3RzLnByb3htb3guY29tL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9wYnMtZGV2ZWwKPiAKPiAK PiAKCgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpwYnMt ZGV2ZWwgbWFpbGluZyBsaXN0CnBicy1kZXZlbEBsaXN0cy5wcm94bW94LmNvbQpodHRwczovL2xp c3RzLnByb3htb3guY29tL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9wYnMtZGV2ZWwK