ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ajit Kumar <ajit.ku...@hortonworks.com>
Subject Review Request 43349: Update Service only after successful persistance
Date Tue, 09 Feb 2016 00:57:45 GMT

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

Review request for Ambari, Jayush Luniya, Nahappan Somasundaram, and Sumit Mohanty.


Bugs: AMBARI-14965
    https://issues.apache.org/jira/browse/AMBARI-14965


Repository: ambari


Description
-------

If post request of service creation fails due to db error, Get request shows service is created.
If you send post request again, it fails stating service already exists though DB doesn't
have any corresponding entry.


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ServiceResourceProvider.java
a2aca7071af661f9903c11121572ec5b110b3826 

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


Testing
-------

Unit tests


Thanks,

Ajit Kumar


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