You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jordan Librande (JIRA)" <ji...@apache.org> on 2015/01/14 20:32:36 UTC

[jira] [Created] (THRIFT-2943) Guidance about upgrading Interface Definition Files

Jordan Librande created THRIFT-2943:
---------------------------------------

             Summary: Guidance about upgrading Interface Definition Files
                 Key: THRIFT-2943
                 URL: https://issues.apache.org/jira/browse/THRIFT-2943
             Project: Thrift
          Issue Type: Documentation
            Reporter: Jordan Librande
            Priority: Blocker


I have an existing thrift service with consumers. I want to upgrade the interface file to a newer version. I haven't been able to find any resources talking about this process in depth.

Some of the questions I have:
Can struct/exception definitions ever be removed?
Can structs/exceptions be renamed?
What's the process for changing what arguments a function can take?
What's the process for changing the list of exceptions a function can throw?
What's the process for changing the return type of a function?

Is there existing documentation to help me answer these questions? I'd also love to see some examples of real interfaces and how they've changed over time.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)