Skip to content

expand requestHistory.createdAt column to millisecond precision#1316

Merged
ssalinas merged 1 commit intomasterfrom
mysql-fractional-seconds
Oct 17, 2016
Merged

expand requestHistory.createdAt column to millisecond precision#1316
ssalinas merged 1 commit intomasterfrom
mysql-fractional-seconds

Conversation

@tpetr
Copy link
Copy Markdown
Contributor

@tpetr tpetr commented Oct 10, 2016

This PR fixes the issue where Request updates that occur during the same second fail to be persisted to MySQL (Note: the updates are not lost, just continue to stay in ZK). This is due to the fact that the createdAt column is a TIMESTAMP, which only has second precision. The DB migration expands the column to TIMESTAMP(3), which matches the millisecond precision used elsewhere in Singularity.

@ssalinas ssalinas modified the milestone: 0.12.0 Oct 14, 2016
@ssalinas ssalinas merged commit 17575a6 into master Oct 17, 2016
@ssalinas ssalinas deleted the mysql-fractional-seconds branch October 17, 2016 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants