Skip to content

Commit d742a68

Browse files
committed
Add missing checked exception to GCSA override
This commit adds a missing checked exception declared on TransportReplicationAction#shardOperationOnPrimary but not declared on the overridden method GlobalCheckpointSyncAction#shardOperationOnPrimary.
1 parent 6cbed98 commit d742a68

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/main/java/org/elasticsearch/index/seqno/GlobalCheckpointSyncAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ protected ReplicationResponse newResponseInstance() {
6666
}
6767

6868
@Override
69-
protected PrimaryResult shardOperationOnPrimary(PrimaryRequest request) {
69+
protected PrimaryResult shardOperationOnPrimary(PrimaryRequest request) throws Exception {
7070
IndexService indexService = indicesService.indexServiceSafe(request.shardId().getIndex());
7171
IndexShard indexShard = indexService.getShard(request.shardId().id());
7272
long checkpoint = indexShard.getGlobalCheckpoint();

0 commit comments

Comments
 (0)