Skip to content

Commit

Permalink
Merge pull request #1283 from HubSpot/deploy_history
Browse files Browse the repository at this point in the history
Deploy history bytes update
  • Loading branch information
ssalinas authored Sep 22, 2016
2 parents 7c02ae5 + 161f381 commit 7b3ad72
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ protected boolean moveToHistory(SingularityDeployHistory deployHistory) {
try {
historyManager.saveDeployHistory(deployHistory);
} catch (Throwable t) {
LOG.warn("Failed to persist deploy {} history ({})", SingularityDeployKey.fromDeployMarker(deployHistory.getDeployMarker()), deployHistory, t);
LOG.warn("Failed to persist deploy {}", SingularityDeployKey.fromDeployMarker(deployHistory.getDeployMarker()), t);
return false;
}

Expand Down
2 changes: 2 additions & 0 deletions mysql/migrations.sql
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,5 @@ UPDATE `taskHistory` SET `startedAt` = FROM_UNIXTIME(SUBSTRING_INDEX(SUBSTRING_I
ALTER TABLE `taskHistory`
ADD KEY `updatedAt` (`updatedAt`, `requestId`)

--changeset ssalinas:13 dbms:mysql
ALTER TABLE `deployHistory` MODIFY `bytes` MEDIUMBLOB NOT NULL;

0 comments on commit 7b3ad72

Please sign in to comment.