Optimize transaction logs for object creations

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      It turns out that emitting ct history can be a meaningful portion of the runtime of sync bootstrap application and they can (temporarily) use almost as much space in the Realm file as the actual live data.

      To fix this, we should skip emitting Set instructions on newly created objects, as notifications are the only thing which uses ct history and they don't need to know about mutations on new objects. This will make it so that we produce one instruction per object created rather than one per column per object.

              Assignee:
              Unassigned
              Reporter:
              Thomas Goyne
              Archiver:
              Marc Greenfield

                Created:
                Updated:
                Resolved:
                Archived: