Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-9865

Broken vint encoding, at least when interacting with OHCProvider

    XMLWordPrintableJSON

Details

    • Normal

    Description

      I haven't investigated this very closely so I only have a slightly hacky way to show the problem, but if you apply the patch attached, you'll see that the vints serialized and the one deserialized are not the same ones. If you remove the use of vints (as is currently on trunk, but only due to this issue because we do want to use vints), everything works correctly.

      I'm honestly not sure where the problem is, but it sounds like it could be either in NIODataInputStream or in the OHCProvider since it's used on that test.

      Attachments

        1. 9865-hacky-test.txt
          5 kB
          Sylvain Lebresne

        Issue Links

          Activity

            People

              aweisberg Ariel Weisberg
              slebresne Sylvain Lebresne
              Ariel Weisberg
              Aleksey Yeschenko
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: