From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 614063858CD1; Mon, 28 Aug 2023 06:42:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 614063858CD1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1693204962; bh=hKfyIVuEt2FSdOmc3QEjsoh0ND9lv73DQlW0SUod43Q=; h=From:To:Subject:Date:In-Reply-To:References:From; b=okfxKU9Qp3/wMeZoNrCBRpzIOyND4KjNva4qEiAM29SmRi4/6saUHzXmctmUW3R/l PWwCMlZpqpFRF07/ZGOo1AYlF1tZLEp+fNTHMirk27ikzW+kT7+JGudaRTzl6gmTFV YNCL/zZwiSEpOfds2JhGnzG4A/lv+JhqMn0vm3vQ= From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug nscd/26130] Inconsistent nscd cache during pruning Date: Mon, 28 Aug 2023 06:42:41 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: nscd X-Bugzilla-Version: 2.22 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 2.33 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D26130 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fweimer at redhat dot com --- Comment #3 from Florian Weimer --- commit 5e74e6f85842892bc25da8e8c70d8dadd485941a Author: Andreas Schwab Date: Wed Jun 17 16:05:13 2020 +0200 nscd: bump GC cycle during cache pruning (bug 26130) While nscd prunes a cache it becomes inconsistent temporarily, which is visible to clients if that cache is shared. Bump the GC cycle counter = so that the clients notice the modification window. Uniformly use atomic_fetch_add to modify the GC cycle counter. --=20 You are receiving this mail because: You are on the CC list for the bug.=