[BP to 7.1.5/7.2.1 MB-55552] - CBO: incorrect calculation of index selectivity when multiple spans exist

Description

From code inspection.
When the index scan has multiple spans, index selectivity may not be calculated properly.

 

Issue

Resolution

When an index scan had multiple spans, index selectivity was incorrectly calculated.

Index selectivity for multiple index spans is now correctly calculated.

Components

Affects versions

Fix versions

Labels

Environment

None

Link to Log File, atop/blg, CBCollectInfo, Core dump

None

Release Notes Description

None

Activity

Show:

CB robot May 19, 2023 at 3:39 AM

Build couchbase-server-7.1.5-3808 contains query commit debc57e with commit message:
https://couchbasecloud.atlassian.net/browse/MB-56937#icft=MB-56937 More unit test fixes

CB robot May 18, 2023 at 7:07 PM

Build couchbase-server-7.2.1-5729 contains query commit 77685a5 with commit message:
https://couchbasecloud.atlassian.net/browse/MB-56937#icft=MB-56937 More unit test fixes

CB robot May 18, 2023 at 12:32 PM

Build couchbase-server-7.1.5-3807 contains query commit af5bb31 with commit message:
https://couchbasecloud.atlassian.net/browse/MB-56937#icft=MB-56937 Fix unit test

CB robot May 17, 2023 at 9:33 PM

Build couchbase-server-7.1.5-3806 contains query-ee commit 750dbd9 with commit message:
https://couchbasecloud.atlassian.net/browse/MB-56937#icft=MB-56937 Proper calculation of index selectivity for multiple index spans

CB robot May 17, 2023 at 9:33 PM

Build couchbase-server-7.1.5-3806 contains query commit 0e74b61 with commit message:
https://couchbasecloud.atlassian.net/browse/MB-56937#icft=MB-56937 Proper calculation of index selectivity for multiple index spans

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Is this a Regression?

Unknown

Triage

Untriaged

Issue Impact

external

Story Points

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created May 16, 2023 at 6:43 PM
Updated March 21, 2025 at 2:50 AM
Resolved May 18, 2023 at 2:58 AM
Instabug