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

statistics log and spinlock race

    • Type: Icon: Task Task
    • Resolution: Done
    • WT2.1
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      michaelcahill writes:

      > I'm testing [the spinlock registration changes in WT-805] with wtperf and the medium-lam config. After a merge completes, some handles are closed, then the next statistics log dump segfaults because we have a pointer to a spinlock in freed memory.

      In 610ac6a, michaelcahill added an unregister call, and in 8bd9e8a I rearranged that code slightly to minimize the window, but I think there's still an outside possibility of a race.

      The spinlock logging code isn't intended for production builds, but maybe we should fix the race? I'm not entirely sure which spinlocks caused the failure, or if this is worth fixing, so I'm going to wait on this one until I talk to Michael.

            Assignee:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Reporter:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: