CouchDB
  1. CouchDB
  2. COUCHDB-20

Output from update listener causes error messages/db server crash

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: 0.10
    • Component/s: None
    • Labels:
      None

      Description

      What steps will reproduce the problem?

      1. Write a program/script that continuously reads its stdin and writes
      something to stdout as stdin line has arrived

      2. Register it as a db update listener in couch.ini

      [Couch]
      ...
      DbUpdateNotificationProcess=/path/to/daemon

      3. Start couchdb. Each time db is updated, the listener program receives
      input and writes back to stdout.

      This causes long and obscure error messages in couchdb server concole
      output (not showed here). According to [1], listener is not supposed to
      send anything back.

      It is therefore proposed that whatever is received from the listener is
      merely logged in special log file e. g. notifier_log (which may be
      redirected to /dev/null in couch.ini if not needed).

      [1]
      http://groups.google.com/group/couchdb/browse_thread/thread/a81fb0058ae2430
      b/7285fb233fa10368#7285fb233fa10368

        Activity

        Sam Bisbee made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Paul Joseph Davis made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Paul Joseph Davis [ paul.joseph.davis ]
        Fix Version/s 0.10 [ 12313694 ]
        Fix Version/s 1.0 [ 12313209 ]
        Resolution Won't Fix [ 2 ]
        Jan Lehnardt made changes -
        Field Original Value New Value
        Fix Version/s 1.0 [ 12313209 ]
        Noah Slater created issue -

          People

          • Assignee:
            Paul Joseph Davis
            Reporter:
            Noah Slater
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development