[CONTROLLER-640] Change ReadTRansaction#read to return CheckedFuture Created: 18/Jul/14 Updated: 04/Aug/14 Resolved: 04/Aug/14 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | mdsal |
| Affects Version/s: | Helium |
| Fix Version/s: | None |
| Type: | Improvement | ||
| Reporter: | Tom Pantelis | Assignee: | Tom Pantelis |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Description |
|
Currently ReadTRansaction#read returns a ListenableFuture. We should return a CheckedFuture with a well-known ReadTransactionFailedException with RpcError info similar to what was done for WriteTransaction#submit. |
| Comments |
| Comment by Tom Pantelis [ 04/Aug/14 ] |