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

Store catalog object IDs as varints

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0
    • None

    Description

      Implementations of CatalogObjectSerializer currently store object IDs (which are ints) as just ints (4 bytes each).

      It makes sense to use varint encoding for these values as it will give us the following benefits:

      1. varints are more compact (except for non-realistic cases when there are more than 268 million objects)
      2. the format will be automatically backward-compatible with storing object IDs as longs (if we decide to extend them from ints to longs)

      Attachments

        Issue Links

          Activity

            People

              rpuch Roman Puchkovskiy
              rpuch Roman Puchkovskiy
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m