Compressor interface marks input argument as non-const

    • Type: Task
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Extensions
    • Storage Engines, Storage Engines - Persistence
    • None
    • None

      The compressor->decompress interface marks its third argument as non-const, which possibly doesn't make sense. While it is plausible that some compressors modify data in-place, this limitation is a problem for callers, e.g. the disaggregated storage block manager, where we need to deal with const input arguments and somehow pass them into decompress.

      If there are good reasons for this to be non-const, then we should accept that some consumers of this will probably need to memcpy data around. Making this change is in the scope of this ticket.

            Assignee:
            [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            Will Korteland
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: