Skip to content

Commit

Permalink
Add missing checked exception to GCSA override
Browse files Browse the repository at this point in the history
This commit adds a missing checked exception declared on
TransportReplicationAction#shardOperationOnPrimary but not declared on
the overridden method
GlobalCheckpointSyncAction#shardOperationOnPrimary.
  • Loading branch information
jasontedor committed Nov 8, 2016
1 parent 6cbed98 commit d742a68
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ protected ReplicationResponse newResponseInstance() {
}

@Override
protected PrimaryResult shardOperationOnPrimary(PrimaryRequest request) {
protected PrimaryResult shardOperationOnPrimary(PrimaryRequest request) throws Exception {
IndexService indexService = indicesService.indexServiceSafe(request.shardId().getIndex());
IndexShard indexShard = indexService.getShard(request.shardId().id());
long checkpoint = indexShard.getGlobalCheckpoint();
Expand Down

0 comments on commit d742a68

Please sign in to comment.