wrong serialization of shardId

This commit is contained in:
kimchy 2010-07-01 02:18:35 +03:00
parent d848ab3df3
commit c2d02e4e3a
1 changed files with 1 additions and 1 deletions

View File

@ -104,6 +104,6 @@ public class ShardId implements Serializable, Streamable {
@Override public void writeTo(StreamOutput out) throws IOException {
index.writeTo(out);
out.writeInt(shardId);
out.writeVInt(shardId);
}
}