aurora-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Farner" <wfar...@apache.org>
Subject Re: Review Request 36096: Fix DB constraint violation when updating host attributes.
Date Mon, 06 Jul 2015 18:42:06 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/36096/
-----------------------------------------------------------

(Updated July 6, 2015, 6:42 p.m.)


Review request for Aurora and Kevin Sweeney.


Bugs: AURORA-1379
    https://issues.apache.org/jira/browse/AURORA-1379


Repository: aurora


Description
-------

The idea of this change is to avoid displacing the top-level record in the `host_attributes`
table when mutating, but instead mutate specific fields.


Diffs (updated)
-----

  src/main/java/org/apache/aurora/scheduler/storage/AttributeStore.java 97f9ee81ed18a961e6df4916d9ede1d89f90ded1

  src/main/java/org/apache/aurora/scheduler/storage/db/AttributeMapper.java 3763f4dbd1b83b83c4b19a89784343ef9de100f1

  src/main/java/org/apache/aurora/scheduler/storage/db/DbAttributeStore.java 5f1cd2b7daec40a8a57095e16390698dbb0bcd24

  src/main/resources/org/apache/aurora/scheduler/storage/db/AttributeMapper.xml d36b42a22ebf9bbe52e60fea9b8a2677c41bd598

  src/test/java/org/apache/aurora/scheduler/storage/db/DbAttributeStoreTest.java db508cace922b20a19081a1d918cc082b255cd02


Diff: https://reviews.apache.org/r/36096/diff/


Testing
-------


Thanks,

Bill Farner


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message