Skip to content

Fix: don't be overeager in prefix match for memory store#3776

Open
ianhi wants to merge 4 commits intozarr-developers:mainfrom
ianhi:ian/prefix-bug
Open

Fix: don't be overeager in prefix match for memory store#3776
ianhi wants to merge 4 commits intozarr-developers:mainfrom
ianhi:ian/prefix-bug

Conversation

@ianhi
Copy link
Contributor

@ianhi ianhi commented Mar 13, 2026

Fixes: #3773

list_dir does some gymnastics with removing slashes then adding them back. could probably bring this normalize to that as well. But a difference is that list_dir accepts a// as a valid proxy for a - though I don't think it should?

TODO:

  • Add unit tests and/or doctests in docstrings
  • [NA] Add docstrings and API docs for any new/modified user-facing classes and functions
  • [NA] New/modified features documented in docs/user-guide/*.md
  • Changes documented as a new file in changes/
  • GitHub Actions have all passed
  • Test coverage is 100% (Codecov passes)

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.

Divergent behavior of memory store and localstore list prefix

1 participant