Operational Defect Database

BugZero found this defect 2450 days ago.

MongoDB | 392093

[SERVER-29529] Coverity analysis defect 101688: Missing unlock

Last update date:

10/27/2023

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Info

Missing a release of a lock on a path Defect 101688 (STATIC_C) Checker LOCK (subcategory missing_unlock) File: /src/third_party/wiredtiger/src/btree/bt_split.c Function __split_internal_lock /src/third_party/wiredtiger/src/btree/bt_split.c, line: 1202 Returning without unlocking "parent->modify->page_lock.lock". return (0); File: /src/third_party/wiredtiger/src/btree/bt_split.c Function __split_internal_lock /src/third_party/wiredtiger/src/btree/bt_split.c, line: 1202 Returning without unlocking "parent->modify->page_lock.lock". return (0);

Top User Comments

keith.bostic commented on Fri, 9 Jun 2017 12:57:08 +0000: I'm not sure why Coverity thinks this is a problem, as the point of the function is to lock the page. Agreed, I don't see a problem here. Is a WT "page lock" really just a locked mutex, or is a page lock a variable that is set to a "locked" state? Just a locked mutex. milkie commented on Fri, 9 Jun 2017 12:12:12 +0000: I'm not sure why Coverity thinks this is a problem, as the point of the function is to lock the page. Is a WT "page lock" really just a locked mutex, or is a page lock a variable that is set to a "locked" state?

Additional Resources / Links

Share:

BugZero Risk Score

Coming soon

Status

Closed

Have you been affected by this bug?

cost-cta-background

Do you know how much operational outages are costing you?

Understand the cost to your business and how BugZero can help you reduce those costs.

Discussion

Login to read and write comments.

Have you ever...

had your data corrupted from a

VMware

bug?

Search:

...