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 078D81FF164 for ; Fri, 6 Dec 2024 15:03:37 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 1F6557838; Fri, 6 Dec 2024 15:03:38 +0100 (CET) Message-ID: <0d0fc0cf-dfaf-4137-9fa4-c6ce28855a4c@proxmox.com> Date: Fri, 6 Dec 2024 15:03:35 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: Proxmox Backup Server development discussion , =?UTF-8?Q?Fabian_Gr=C3=BCnbichler?= References: <20241205091247.1683318-1-f.gruenbichler@proxmox.com> Content-Language: en-US, de-DE From: Christian Ebner In-Reply-To: <20241205091247.1683318-1-f.gruenbichler@proxmox.com> X-SPAM-LEVEL: Spam detection results: 0 AWL 0.030 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: 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-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: pbs-devel-bounces@lists.proxmox.com Sender: "pbs-devel" SGFkIGEgbG9vayBhdCB0aGlzLCBvbmUgY29tbWVudCBpbmxpbmUuCgpPbiAxMi81LzI0IDEwOjEy LCBGYWJpYW4gR3LDvG5iaWNobGVyIHdyb3RlOgo+IHNvbWUgY29kZSBwYXRocyB3aWxsIG9ubHkg cmVhZCB0aGUgZGF0YXN0b3JlIGJhc2UgLSBpZiB0aGUgZGF0YXN0b3JlCj4gZGlzYXBwZWFyZWQg KGUuZy4sIGEgbGF6eSB1bm1vdW50LCBvciBzb21lIG5ldHdvcmsgc3RvcmFnZSBkaXNhcHBlYXJp bmcgd2l0aG91dAo+IGJsb2NraW5nKSB0aGVuIHdlIHNob3VsZCBhdCBsZWFzdCBkZXRlY3QgdGhl IGlzc3VlIGF0IGxvb2t1cCB0aW1lIGJlZm9yZQo+IHJlLXVzaW5nIGFuIGFscmVhZHkgb3BlbmVk IGRhdGFzdG9yZS4KPiAKPiBhbnkgY29kZSBwYXRoIHRoYXQgdHJpZWQgdG8gYWNjZXNzIHRoZSBj aHVua3MgdGhlbXNlbHZlcyB3b3VsZCBhbHJlYWR5IGhhdmUKPiBmYWlsZWQgd2l0aG91dCB0aGlz IGFkZGl0aW9uYWwgc2FmZWd1YXJkLCBidXQgaW4gcGFydGljdWxhciBxdWVyaWVzIGxpc3RpbmcK PiBuYW1lc3BhY2VzIG9yIGdyb3VwcyBpbiB0aGUgcm9vdCBuYW1lc3BhY2UgZG9uJ3QsIHdoaWNo IG1pZ2h0IGNhdXNlIGEgcmVtb3RlCj4gY2xpZW50IHN1Y2ggYXMgcHVsbCBzeW5jIHRvIG1pc3Rh a2VubHkgdGhpbmsgdGhhdCB0aGUgZGF0YXN0b3Jl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