Skip to content

Conversation

@gabsow
Copy link
Collaborator

@gabsow gabsow commented Nov 20, 2025

(cherry picked from commit 7211a07)


Note

Always enable the thread-safe shared string cache in redis_json initialization and remove config-based detection.

  • Initialization changes (redis_json/src/lib.rs):
    • Always initialize shared string cache as thread-safe: ijson::init_shared_string_cache(true) and log accordingly.
    • Remove CONFIG GET bigredis-enabled check and related logic; drop dependency on RedisValue in this path.
    • Add use ijson; import to support the new initialization path.

Written by Cursor Bugbot for commit 0bf655f. This will update automatically on new commits. Configure here.

@gabsow gabsow changed the title Always enable thread-safe cache for async flush support (#1446) MOD-12014 Always enable thread-safe cache for async flush support (#1446) Nov 20, 2025
…xistent $crate function

- Changed $crate::init_ijson_shared_string_cache to ijson::init_shared_string_cache
- Added ijson import to macro context
- Removed unused RedisValue import
@codecov
Copy link

codecov bot commented Nov 23, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.23%. Comparing base (5a44d47) to head (0bf655f).
⚠️ Report is 7 commits behind head on 8.0.

Additional details and impacted files
@@            Coverage Diff             @@
##              8.0    #1449      +/-   ##
==========================================
- Coverage   79.24%   79.23%   -0.01%     
==========================================
  Files          15       15              
  Lines        3729     3723       -6     
==========================================
- Hits         2955     2950       -5     
+ Misses        774      773       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gabsow gabsow merged commit 7536df0 into 8.0 Nov 23, 2025
21 checks passed
@gabsow gabsow deleted the cherry-pick-always-enable-thread-safe-cach-8.0 branch November 23, 2025 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants