public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* [Bug debuginfod/28430] New: debuginfod should support a read-only database mode
@ 2021-10-06 18:08 fche at redhat dot com
  2021-11-11 15:08 ` [Bug debuginfod/28430] " mark at klomp dot org
  0 siblings, 1 reply; 2+ messages in thread
From: fche at redhat dot com @ 2021-10-06 18:08 UTC (permalink / raw)
  To: elfutils-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=28430

            Bug ID: 28430
           Summary: debuginfod should support a read-only database mode
           Product: elfutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: debuginfod
          Assignee: unassigned at sourceware dot org
          Reporter: fche at redhat dot com
                CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

For purposes of scaling workers against a shared database, this sort of thing
should work:

  debuginfod -d 'file:///PATH?mode=ro' -R -Z ..

which would force read-only operation.  (Presumably, the PATH represents a
database that some other debuginfod is populating/grooming.)

It could be enough to have a flag that suppresses startup-time DDL application,
grooming, traversal, and scanning, leaving only the libmicrohttpd-related
threads.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug debuginfod/28430] debuginfod should support a read-only database mode
  2021-10-06 18:08 [Bug debuginfod/28430] New: debuginfod should support a read-only database mode fche at redhat dot com
@ 2021-11-11 15:08 ` mark at klomp dot org
  0 siblings, 0 replies; 2+ messages in thread
From: mark at klomp dot org @ 2021-11-11 15:08 UTC (permalink / raw)
  To: elfutils-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=28430

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at klomp dot org
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #1 from Mark Wielaard <mark at klomp dot org> ---
commit cc913c824f4031c8f499d6b80c91b8ed66dd7c5d
Author: Frank Ch. Eigler <fche@redhat.com>
Date:   Fri Nov 5 22:26:35 2021 -0400

    PR28430: debuginfod: support --passive mode

    Add support for a limited mode for debuginfod that uses a pure
    read-only sqlite index.  This mode is useful for load spreading based
    on naively shared or replicated databases.

    Signed-off-by: Frank Ch. Eigler <fche@redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-11 15:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-06 18:08 [Bug debuginfod/28430] New: debuginfod should support a read-only database mode fche at redhat dot com
2021-11-11 15:08 ` [Bug debuginfod/28430] " mark at klomp dot org

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).