lp:~jamesodhunt/upstart/bug-1447756-the-actual-fix

Created by James Hunt on 2015-05-12 and last modified on 2015-05-12
Get this branch:
bzr branch lp:~jamesodhunt/upstart/bug-1447756-the-actual-fix
Only James Hunt can upload to this branch. If you are James Hunt please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
James Hunt
Project:
upstart
Status:
Merged

Recent revisions

1666. By James Hunt on 2015-05-12

* init/log.c:
  - log_clear_unflushed(): Handle logs on the unflushed list which
    get flushed automatically by their corresponding NihIo before
    a request to clear the unflushed list is made. This scenario
    is triggered when a job which has spawned processes exits, but
    where the spawned processes continue to run and then produce
    output before the request to clear the unflushed list is made
    (at the time the log partition becomes writable) but after the
    log partition becomes writable (LP: #1447756).
* init/tests/test_log.c:
  - test_log_new(): Added new test:
    "ensure logger unflushed list ignores already flushed data".
  - test_log_destroy(): Improved test
     "ensure unflushed data moved to unflushed list with uid 0" by giving
    the log a parent and checking parent handling behaviour.

1665. By James Hunt on 2015-04-24

* init/log.c:
  - Make log_flushed public to allow tests to test
    log_handle_unflushed() properly.
  - log_handle_unflushed():
    - Make log a child of the list entry and the latter a child of the
      unflushed list.
  - log_clear_unflushed():
    - Ensure the list entry is freed along with the log to avoid an
      invalid entry remaining in the list (LP: #1447756).
* init/tests/test_log.c:
  - test_log_destroy(): Added new test:
    - "ensure unflushed data moved to unflushed list with uid 0"

1663. By James Hunt on 2014-09-04

* NEWS: Begin new release.

1662. By James Hunt on 2014-09-04

* NEWS: Release 1.13.2

1661. By James Hunt on 2014-09-03

* Merge of lp:~jamesodhunt/upstart/bug-1357252.

1658. By James Hunt on 2014-07-17

* NEWS: Begin new release.

1657. By James Hunt on 2014-07-16

* NEWS: Release 1.13.1

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:upstart
This branch contains Public information 
Everyone can see this information.

Subscribers