couchbase / couchbase/couchbase-php-client
Inconsistent Behavior of Default JSON Transcoders Across PHP SDK Versions
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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