Why optimize is not executed on all shards?

I tried to execute optimize operation to one index:

curl -XPOST '
"ok" : true,
"_shards" : {
"total" : 10,
"successful" : 6,
"failed" : 0

Why only 6 shards are successful? (The index has 5 shards and 1 replica)

You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.