Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-2626

Binary marshaller: sort fields alphabetically

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.1.4
    • 2.0
    • cache, platforms
    • None

    Description

      Currently we write object fields in the order they come from reflection.
      1) There is no guarantee that this order is consistent across multiple calls
      2) Platforms may have corresponding objects with different field order

      => There are situations when write and read field order is different, which hurts performance.

      Sorting fields alphabetically in Java and platforms will ensure the same ordering.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ptupitsyn Pavel Tupitsyn
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: