commit thrift example