Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-1801

Sync up TApplicationException codes across languages and thrift implementations

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.10.0
    • None
    • None
    • all

    • Patch Available

    Description

      Two issues with TApplicationException codes:

      1) some languages contained incomplete lists of existing TApplicationException codes

      2) internally in Facebook thrift servers, we had reserved a few extra error codes for TApplicationException, and those error codes were then claimed here for different uses. this causes conflicts when some clients that know about one set of codes communicates with servers that know about a different set of codes. I've reassigned our internal error code numbers to make space for the ones in more recent thrift code, but to try prevent this from happening again, I'd like to add our own codes to reserve them (these currently won't have any other mention in the thrift libraries right now than being in TApplicationException, but they may eventually be used when we push more of this internal code out).

      Attachments

        1. THRIFT-1801.1.patch
          16 kB
          Andrew Cox

        Activity

          People

            andrewcox79 Andrew Cox
            andrewcox79 Andrew Cox
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: