From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id 17F271FF15C for ; Wed, 11 Dec 2024 10:32:42 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 346C1640B; Wed, 11 Dec 2024 10:32:47 +0100 (CET) Date: Wed, 11 Dec 2024 10:32:40 +0100 From: Fabian =?iso-8859-1?q?Gr=FCnbichler?= To: Christian Ebner , Proxmox Backup Server development discussion References: <20241205091247.1683318-1-f.gruenbichler@proxmox.com> <0d0fc0cf-dfaf-4137-9fa4-c6ce28855a4c@proxmox.com> In-Reply-To: <0d0fc0cf-dfaf-4137-9fa4-c6ce28855a4c@proxmox.com> MIME-Version: 1.0 User-Agent: astroid/0.16.0 (https://github.com/astroidmail/astroid) Message-Id: <1733909481.8vepx620lu.astroid@yuna.none> X-SPAM-LEVEL: Spam detection results: 0 AWL 0.046 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 URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [datastore.rs] Subject: Re: [pbs-devel] [PATCH proxmox-backup] fix #5967: datastore lookup: check for disappeared datastores 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" T24gRGVjZW1iZXIgNiwgMjAyNCAzOjAzIHBtLCBDaHJpc3RpYW4gRWJuZXIgd3JvdGU6Cj4gSGFk IGEgbG9vayBhdCB0aGlzLCBvbmUgY29tbWVudCBpbmxpbmUuCj4gCj4gT24gMTIvNS8yNCAxMDox MiwgRmFiaWFuIEdyw7xuYmljaGxlciB3cm90ZToKPj4gc29tZSBjb2RlIHBhdGhzIHdpbGwgb25s eSByZWFkIHRoZSBkYXRhc3RvcmUgYmFzZSAtIGlmIHRoZSBkYXRhc3RvcmUKPj4gZGlzYXBwZWFy ZWQgKGUuZy4sIGEgbGF6eSB1bm1vdW50LCBvciBzb21lIG5ldHdvcmsgc3RvcmFnZSBkaXNhcHBl YXJpbmcgd2l0aG91dAo+PiBibG9ja2luZykgdGhlbiB3ZSBzaG91bGQgYXQgbGVhc3QgZGV0ZWN0 IHRoZSBpc3N1ZSBhdCBsb29rdXAgdGltZSBiZWZvcmUKPj4gcmUtdXNpbmcgYW4gYWxyZWFkeSBv cGVuZWQgZGF0YXN0b3JlLgo+PiAKPj4gYW55IGNvZGUgcGF0aCB0aGF0IHRyaWVkIHRvIGFjY2Vz cyB0aGUgY2h1bmtzIHRoZW1zZWx2ZXMgd291bGQgYWxyZWFkeSBoYXZlCj4+IGZhaWxlZCB3aXRo b3V0IHRoaXMgYWRkaXRpb25hbCBzYWZlZ3VhcmQsIGJ1dCBpbiBwYXJ0aWN1bGFyIHF1ZXJ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gIFNvbWUoT3BlcmF0aW9uOjpSZWFkKSB8IFNvbWUoT3BlcmF0aW9uOjpXcml0ZSkgPT4g ewo+PiArICAgICAgICAgICAgICAgICAgICBDaHVua1N0b3JlOjpjaHVua19kaXJfYWNjZXNzaWJs ZSgmZGF0YXN0b3JlLmNodW5rX3N0b3JlLmJhc2VfcGF0aCgpKT87Cj4+ICsgICAgICAgICAgICAg ICAgfQo+PiArICAgICAgICAgICAgICAgIFNvbWUoT3BlcmF0aW9uOjpMb29rdXApIHwgTm9uZSA9 PiB7fQo+PiArICAgICAgICAgICAgfQo+PiAgICAgICAgICAgICAgIGlmIGxldCBTb21lKHRydWUp ID0gbGFzdF9kaWdlc3QubWFwKHxsYXN0X2RpZ2VzdHwgbGFzdF9kaWdlc3QgPT0gJmRpZ2VzdCkg ewo+PiAgICAgICAgICAgICAgICAgICBpZiBsZXQgU29tZShvcGVyYXRpb24pID0gb3BlcmF0aW9u IHsKPj4gICAgICAgICAgICAgICAgICAgICAgIHVwZGF0ZV9hY3RpdmVfb3BlcmF0aW9ucyhuYW1l LCBvcGVyYXRpb24sIDEpPzsKPiAKPiAKCgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fXwpwYnMtZGV2ZWwgbWFpbGluZyBsaXN0CnBicy1kZXZlbEBsaXN0cy5w cm94bW94LmNvbQpodHRwczovL2xpc3RzLnByb3htb3guY29tL2NnaS1iaW4vbWFpbG1hbi9saXN0 aW5mby9wYnMtZGV2ZWwK