couchbase / couchbase/couchbase-php-client

Inconsistent Behavior of Default JSON Transcoders Across PHP SDK Versions

Open
#218 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
7
Forks
13
Avg merge
6d 10m
Merged PRs (30d)
2

Description

In legacy PHP SDKs (v2 and v3) of Couchbase, there is a configuration option couchbase.encoder.compression that allows
compression of data using a specified algorithm. This option is not forward-compatible with the new PHP SDK v4. When
data is inserted using PHP SDK v3 with compression enabled, it cannot be retrieved using PHP SDK v4.

Steps to reproduce the issue: https://github.com/deminy/couchbase-issues/tree/couchbase4/issue-6

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reproduction steps in https://github.com/deminy/couchbase-issues/tree/couchbase4/issue-6 and compare how PHP SDK v3 handles couchbase.encoder.compression with SDK v4. Confirm the behavior across the documented SDK versions and define done as data inserted with v3 compression enabled being retrievable through v4.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.