Jira (PDB-4308) Check whether pdb is unkillable when db is unavailable at startup

5 views
Skip to first unread message

Rob Browning (JIRA)

unread,
Mar 14, 2019, 12:16:03 PM3/14/19
to puppe...@googlegroups.com
Rob Browning created an issue
 
PuppetDB / Improvement PDB-4308
Check whether pdb is unkillable when db is unavailable at startup
Issue Type: Improvement Improvement
Assignee: Unassigned
Created: 2019/03/14 9:15 AM
Priority: Normal Normal
Reporter: Rob Browning

While working on other things, I noticed that a "lein test ..." run might have become unkillable (i.e. C-c didn't kill it, kill wouldn't kill it, and I resorted to kill -9) when I tried this in a test:

(svc-utils/call-with-single-quiet-pdb-instance
 (-> (svc-utils/create-temp-config)
     (assoc :database *db*)
     (assoc-in [:database :user ] "invalid-user")
     (assoc-in [:global :vardir] shared-vardir))
 (fn []
   ...))

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Rob Browning (JIRA)

unread,
Mar 14, 2019, 12:22:02 PM3/14/19
to puppe...@googlegroups.com
Rob Browning updated an issue
Change By: Rob Browning
While working on other things, I noticed that a "lein test ..." run might have become unkillable (i.e. C-c didn't kill it, kill wouldn't kill it, and I resorted to kill -9) when I tried this in a test:

{code:clojure}
( with-temp-db  ( svc-utils/call-with-single-quiet-pdb-instance

(-> (svc-utils/create-temp-config)
     (assoc :database *db*)
     (assoc-in [:database :user ] "invalid-user")
     (assoc-in [:global :vardir] shared-vardir))
(fn []
   ...)) )
{code}

Rob Browning (JIRA)

unread,
Mar 14, 2019, 12:23:03 PM3/14/19
to puppe...@googlegroups.com

Rob Browning (JIRA)

unread,
Apr 29, 2019, 4:43:04 PM4/29/19
to puppe...@googlegroups.com

Rob Browning (JIRA)

unread,
Apr 29, 2019, 4:56:03 PM4/29/19
to puppe...@googlegroups.com
Rob Browning updated an issue
While working on other things, I noticed that a "lein test ..." run might have become unkillable (i.e. C-c didn't kill it, kill wouldn't kill it, and I resorted to kill -9) when I tried this in a test:
{code:clojure}
(with- temp test -db

  (svc-utils/call-with-single-quiet-pdb-instance
   (-> (svc-utils/create-temp-config)
       (assoc :database *db*)
       (assoc-in [:database :user ] "invalid-user")
       (assoc-in [:global :vardir] shared-vardir))
   (fn []
     ...)))
{code}

Rob Browning (JIRA)

unread,
May 28, 2019, 12:29:04 PM5/28/19
to puppe...@googlegroups.com
Rob Browning updated an issue
Change By: Rob Browning
Release Notes Summary: Previously, if the database were inaccessible during startup, PuppetDB could become "unkillable", meaning that `kill PUPPETDB_PID` or Control-C from a terminal (for example) would no longer stop the server.  Now PuppetDB should exit properly in those situations.
Release Notes: Bug Fix
Issue Type: Improvement Bug

Rob Browning (JIRA)

unread,
May 28, 2019, 12:34:04 PM5/28/19
to puppe...@googlegroups.com
Rob Browning updated an issue
Change By: Rob Browning
Fix Version/s: PDB 6.3.2
Fix Version/s: PDB 6.0.4
Fix Version/s: PDB 5.2.9

Austin Blatt (JIRA)

unread,
Jun 12, 2019, 7:26:03 PM6/12/19
to puppe...@googlegroups.com
Austin Blatt updated an issue
Change By: Austin Blatt
Fix Version/s: PDB 6.3.2
Fix Version/s: PDB 6.3.3
Reply all
Reply to author
Forward
0 new messages