Thrift errors

No field key specified for x, resulting protocol may have conflicts or not be backwards compatible!

No field key specified for x, resulting protocol may have conflicts or not be backwards compatible!

Most likely this means that somewhere the ordinal number of an attribute is missing

struct Something { optional i32 x; //< Comment optional double y; //< Comment }

Replace with

struct Something { 1: optional i32 x; //< Comment 2: optional double y; //< Comment }

Article author: Andrei Olegovich