Change IndexPrimaryShardNotAllocatedException from 409 (RestStatus.CONFLICT) to 500 (RestStatus.INTERNAL_SERVER_ERROR)
Closes #7632, Closes #7987
This commit is contained in:
parent
d5e813929c
commit
645ce26287
|
@ -35,6 +35,6 @@ public class IndexPrimaryShardNotAllocatedException extends IndexException {
|
|||
|
||||
@Override
|
||||
public RestStatus status() {
|
||||
return RestStatus.CONFLICT;
|
||||
return RestStatus.INTERNAL_SERVER_ERROR;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue