[BP of MB-53569 to 7.1.4/7.2.0] Handle json/raw compressed xattr data type

Description

view engine crashes when document type is snappy compressed with XATTR with case_clause, 7

Components

Affects versions

None

Fix versions

Labels

Environment

None

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

None

Release Notes Description

None

is a backport of

Activity

Show:

Chanabasappa Ghali March 8, 2023 at 5:02 AM

Enterprise Edition 7.2.0 build 5219 

  1. Import travel-sample

  2. edit -> advanced setting -> compression mode active

  3. ./cbc subdoc -u Administrator -P password -U couchbase://127.0.0.1/travel-sample

  1. subdoc> upsert -x my_xattr={"seq":123} my_doc {"field":42}
    Create view and query.

  1. No view engine crash observed

Chanabasappa Ghali February 20, 2023 at 5:06 AM

  1. Import travel-sample

  2. edit -> advanced setting -> compression mode active

  3. ./cbc subdoc -u Administrator -P [password] -U [couchbase://127.0.0.1/travel-sample]

  1. subdoc> upsert -x my_xattr={"seq":123} my_doc {"field":42}
    Create view and query.

  1. No view engine crash observed.

Verified with 7.1.4-3597 build

CB robot January 24, 2023 at 10:53 AM

Build couchbase-server-7.1.4-3564 contains couchdb commit 03033a0 with commit message:
: Handle json xattr compressed data type

CB robot January 24, 2023 at 8:56 AM

Build couchbase-server-7.2.0-5099 contains couchdb commit 1d222c3 with commit message:
: Handle json xattr compressed data type

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

Details

Assignee

Reporter

Is this a Regression?

Unknown

Triage

Untriaged

Story Points

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created October 18, 2022 at 10:31 AM
Updated March 8, 2023 at 5:03 AM
Resolved January 24, 2023 at 6:17 AM
Instabug