OpenSearch/qa
William Brafford 2425a1a890
Use '--cursor-after' flag to get recent journal messages (#51366) (#51445)
When we get Elasticsearch logs from journald, we want to fetch only log
messages from the last run. There are two reasons for this. First, if
there are many logs, we might get a string that's too large for our
utility methods. Second, when we're looking for a specific message or
error, we almost certainly want to look only at messages from the last
execution.

Previously, we've been trying to do this by clearing out the physical
files under the journald process. But there seems to be some contention
over these directories: if journald writes a log file in between when
our deletion command deletes the file and when it deletes the log
directory, the deletion will fail.

Instead, we can use the cursor capablity of journald to retrieve journal
entries that occur only after a certain cursor. This avoids any effort
to interfere with the underlying file operations of journald.
2020-01-24 16:23:18 -05:00
..
ccs-unavailable-clusters Backport remote proxy mode stats and naming (#50402) 2019-12-19 18:02:48 -07:00
die-with-dignity Remove Awaitsfix that seems outdated (#49764) 2019-12-03 10:24:55 +01:00
evil-tests Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
full-cluster-restart Deprecate synced flush (#50835) 2020-01-13 19:54:38 -05:00
logging-config ThreadPool and ThreadContext are not closeable (#43249) (#49273) 2019-11-19 13:15:16 -07:00
mixed-cluster Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
multi-cluster-search Backport remote proxy mode stats and naming (#50402) 2019-12-19 18:02:48 -07:00
no-bootstrap-tests Spawn controller processes from a different directory on macOS (#47013) 2019-09-27 14:02:40 +01:00
os Use '--cursor-after' flag to get recent journal messages (#51366) (#51445) 2020-01-24 16:23:18 -05:00
repository-multi-version Fix X-Pack Indices Breaking Repository BwC Tests (#51120) (#51125) 2020-01-16 21:52:57 +01:00
rolling-upgrade Deprecate synced flush (#50835) 2020-01-13 19:54:38 -05:00
smoke-test-client Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
smoke-test-http Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
smoke-test-ingest-disabled Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
smoke-test-ingest-with-all-dependencies Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
smoke-test-multinode Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
smoke-test-plugins Testclusters: convert left-overs from checkPart1 (#43370) 2019-06-25 19:14:45 +03:00
unconfigured-node-name Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
verify-version-constants Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
wildfly Dump wildfly log on start failure (#49892) 2019-12-06 15:55:01 -08:00
build.gradle Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00