Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-10206

Refactor wt_log_release and wt_log_force_sync to have one place where logging sync occur

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT11.2.0, 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • 2
    • Storage Engines - 2022-11-28

      Summary
      wt_log_release and wt_log_force_sync have very similar flows for log and dir sync. They should be refactored to have a single implementation.

      Motivation

      • Does this affect any team outside of WT?
        No
      • How likely is it that this use case or problem will occur?
        Better code
      • If the problem does occur, what are the consequences and how severe are they?
        All the usual with duplicate code paths
      • Is this issue urgent?
        No

      Acceptance Criteria (Definition of Done)
      Code is refactored and existing tests pass.

            Assignee:
            mick.graham@mongodb.com Mick Graham
            Reporter:
            mick.graham@mongodb.com Mick Graham
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: