[2096] in Moira Commits

home help back first fref pref prev next nref lref last post

[ops/moira] 4bfb4c: Add incremental pipe child support. If a service

daemon@ATHENA.MIT.EDU (Greg Hudson)
Wed Dec 7 11:46:17 2016

Date: Wed, 07 Dec 2016 11:46:13 -0500
From: Greg Hudson <ghudson@mit.edu>
Reply-To: Greg Hudson <ghudson@mit.edu>
To: moira-commits@mit.edu
Message-ID: <58483cd5583c7_bc503f7e1c1df2c0143aa@github-mit-edu.mail>
Mime-Version: 1.0
Content-Type: multipart/mixed;
 boundary="--==_mimepart_58483cd5553fa_bc503f7e1c1df2c01420";
 charset=UTF-8
Content-Transfer-Encoding: 7bit


----==_mimepart_58483cd5553fa_bc503f7e1c1df2c01420
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

  Branch: refs/heads/master
  Home:   https://github.mit.edu/ops/moira
  Commit: 4bfb4c9867260637089021a29b5706deed22f886
      https://github.mit.edu/ops/moira/commit/4bfb4c9867260637089021a29b5706deed22f886
  Author: Greg Hudson <ghudson@mit.edu>
  Date:   2016-12-06 (Tue, 06 Dec 2016)

  Changed paths:
    M moira/db/schema.sql
    M moira/db/unschema.sql
    A moira/incremental/incr-runner/example.py
    M moira/incremental/incr-runner/incr-runner.pc
    A moira/incremental/incr-runner/stub.py

  Log Message:
  -----------
  Add incremental pipe child support.  If a service is listed in the
incremental_pipe table, its process will be run once with no
arguments.  Each incremental update will be sent to it on its stdin as
a four-byte length followed by a sequence of zero-terminated
arguments.

Also add scripts stub.py and example.py.  The stub script can be used
on the test server in place of a real incremental script; the example
script can be used as a basis for a real incremental.  Both scripts
work in either normal mode or pipe mode.



----==_mimepart_58483cd5553fa_bc503f7e1c1df2c01420--

home help back first fref pref prev next nref lref last post