Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-5795

Refactor ItemMetaData class

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 2.0-beta
    • None
    • couchbase-bucket
    • Security Level: Public
    • None

    Description

      The ItemMetaData class presents an issue in it's current for because we cannot convert relative expiration times in a good way. The current solution is somewhat of a hack. We just do the conversion in the ep_engine.cc file after we have decoded the meta data. With the Item class we have an itemAllocate function that takes care of creating an item and makes sure the expiration time is correct. The ItemMetaData class should have an API similar to this.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mikew Mike Wiederhold [X] (Inactive)
            mikew Mike Wiederhold [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty