1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-26 22:50:16 +03:00
Klearchos Chaloulos 8a3db16df4 journal-upload : Ignore journal event when already in uploading state.
When the log rate is high, it is possible that the callback dispatch_journal_input() will be called twice, while the program is in uploading state. There is a guard for this in dispatch_journal_input(). However it is not enough, as it is possible that the uploading state is not set when the code is in dispatch_journal_input().
The result of the above is that a log would be skipped, as sd_journal_next_skip() would be called twice.
Adding a new check in process_journal_input(), just before the code to sd_journal_next_skip(),  makes sure that the code ignores a duplicate callback, when the first callback is in uploading state.
Also, removed the warning log from dispatch_journal_input(), as this occurence is normal.
2015-12-09 18:34:36 +02:00
2015-07-06 17:47:38 +02:00
2015-11-14 09:54:17 +01:00
2015-11-22 23:05:23 +01:00
2015-08-31 18:12:37 +02:00
2015-11-23 12:32:59 +01:00
2015-06-03 00:22:53 +02:00
2014-06-04 15:41:10 -04:00
2015-07-27 20:15:34 +02:00
2015-11-18 08:59:06 +01:00
2015-11-02 10:05:20 -06:00
2015-11-27 00:46:51 +01:00

systemd - System and Service Manager

Build Status
Coverity Scan Status

Details

  • General information about systemd can be found in the systemd Wiki
  • Information about build requirements are provided in the README file
Description
The systemd System and Service Manager
Readme 568 MiB
Languages
C 89.2%
Python 5.3%
Shell 4.1%
Meson 1.2%