public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nscd/26130] New: Inconsistent nscd cache during pruning
@ 2020-06-17 14:01 schwab@linux-m68k.org
2020-06-22 8:56 ` [Bug nscd/26130] " schwab@linux-m68k.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: schwab@linux-m68k.org @ 2020-06-17 14:01 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=26130
Bug ID: 26130
Summary: Inconsistent nscd cache during pruning
Product: glibc
Version: 2.22
Status: NEW
Severity: normal
Priority: P2
Component: nscd
Assignee: unassigned at sourceware dot org
Reporter: schwab@linux-m68k.org
CC: drepper.fsp at gmail dot com
Target Milestone: ---
During cache pruning the nscd cache is temparily inconsistent which is visible
to clients that read a shared cache.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug nscd/26130] Inconsistent nscd cache during pruning
2020-06-17 14:01 [Bug nscd/26130] New: Inconsistent nscd cache during pruning schwab@linux-m68k.org
@ 2020-06-22 8:56 ` schwab@linux-m68k.org
2020-09-17 16:01 ` schwab@linux-m68k.org
2023-08-28 6:42 ` fweimer at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: schwab@linux-m68k.org @ 2020-06-22 8:56 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=26130
--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
Created attachment 12633
--> https://sourceware.org/bugzilla/attachment.cgi?id=12633&action=edit
getent.c
Run this in separate shells:
S1# while :; do touch /etc/group; done
S2# ./getent root
S3# ./getent wheel
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug nscd/26130] Inconsistent nscd cache during pruning
2020-06-17 14:01 [Bug nscd/26130] New: Inconsistent nscd cache during pruning schwab@linux-m68k.org
2020-06-22 8:56 ` [Bug nscd/26130] " schwab@linux-m68k.org
@ 2020-09-17 16:01 ` schwab@linux-m68k.org
2023-08-28 6:42 ` fweimer at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: schwab@linux-m68k.org @ 2020-09-17 16:01 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=26130
Andreas Schwab <schwab@linux-m68k.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |2.33
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #2 from Andreas Schwab <schwab@linux-m68k.org> ---
Fixed in 2.33.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug nscd/26130] Inconsistent nscd cache during pruning
2020-06-17 14:01 [Bug nscd/26130] New: Inconsistent nscd cache during pruning schwab@linux-m68k.org
2020-06-22 8:56 ` [Bug nscd/26130] " schwab@linux-m68k.org
2020-09-17 16:01 ` schwab@linux-m68k.org
@ 2023-08-28 6:42 ` fweimer at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: fweimer at redhat dot com @ 2023-08-28 6:42 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=26130
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fweimer at redhat dot com
--- Comment #3 from Florian Weimer <fweimer at redhat dot com> ---
commit 5e74e6f85842892bc25da8e8c70d8dadd485941a
Author: Andreas Schwab <schwab@suse.de>
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.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-08-28 6:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-17 14:01 [Bug nscd/26130] New: Inconsistent nscd cache during pruning schwab@linux-m68k.org
2020-06-22 8:56 ` [Bug nscd/26130] " schwab@linux-m68k.org
2020-09-17 16:01 ` schwab@linux-m68k.org
2023-08-28 6:42 ` fweimer at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).