Record which cluster host received a push

Summary: Ref T4292. When we write a push log, also log which node received the request.

Test Plan: {F1230467}

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T4292

Differential Revision: https://secure.phabricator.com/D15759
This commit is contained in:
epriestley
2016-04-19 10:10:12 -07:00
parent d87c500002
commit 6edf181a7e
5 changed files with 39 additions and 1 deletions

View File

@@ -95,7 +95,12 @@ final class PhabricatorRepositoryPushLogSearchEngine
protected function getRequiredHandlePHIDsForResultList(
array $logs,
PhabricatorSavedQuery $query) {
return mpull($logs, 'getPusherPHID');
$phids = array();
$phids[] = mpull($logs, 'getPusherPHID');
$phids[] = mpull($logs, 'getDevicePHID');
$phids = array_mergev($phids);
$phids = array_filter($phids);
return $phids;
}
protected function renderResultList(