Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-13943

Get rid of KeyValue#heapSizeWithoutTags

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • None
    • None
    • Reviewed

    Description

      /**
         * This is a hack that should be removed once we don't care about matching
         * up client- and server-side estimations of cell size. It needed to be
         * backwards compatible with estimations done by older clients. We need to
         * pretend that tags never exist and cells aren't serialized with tag
         * length included. See HBASE-13262 and HBASE-13303
         */
        @Deprecated
        public static long estimatedHeapSizeOfWithoutTags(final Cell cell) {
       

      We can avoid this for 2.0

      Attachments

        1. HBASE-13943.patch
          6 kB
          Anoop Sam John
        2. HBASE-13943_V2.patch
          7 kB
          Anoop Sam John

        Activity

          People

            anoop.hbase Anoop Sam John
            anoop.hbase Anoop Sam John
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: