File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
main/java/org/elasticsearch/cluster/routing
test/java/org/elasticsearch/cluster/routing/allocation Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -342,9 +342,9 @@ public void writeTo(StreamOutput out) throws IOException {
342342 } else if (reason .equals (Reason .RESHARD_ADDED )
343343 && out .getTransportVersion ().before (TransportVersions .UNASSIGENEDINFO_RESHARD_ADDED )) {
344344 out .writeByte ((byte ) Reason .FORCED_EMPTY_PRIMARY .ordinal ());
345- } else {
346- out .writeByte ((byte ) reason .ordinal ());
347- }
345+ } else {
346+ out .writeByte ((byte ) reason .ordinal ());
347+ }
348348 out .writeLong (unassignedTimeMillis );
349349 // Do not serialize unassignedTimeNanos as System.nanoTime() cannot be compared across different JVMs
350350 out .writeBoolean (delayed );
Original file line number Diff line number Diff line change 1515import org .elasticsearch .cluster .ESAllocationTestCase ;
1616import org .elasticsearch .cluster .metadata .IndexMetadata ;
1717import org .elasticsearch .cluster .metadata .Metadata ;
18- import org .elasticsearch .cluster .metadata .MetadataAutoshardIndexService ;
1918import org .elasticsearch .cluster .node .DiscoveryNodes ;
2019import org .elasticsearch .cluster .routing .RoutingTable ;
2120import org .elasticsearch .cluster .routing .ShardRouting ;
You can’t perform that action at this time.
0 commit comments