torwig commented on code in PR #278:
URL:
https://github.com/apache/kvrocks-controller/pull/278#discussion_r2000648479
##########
store/engine/engine_inmemory.go:
##########
@@ -75,7 +75,7 @@ func (m *Mock) List(_ context.Context, prefix string)
([]Entry, error) {
m.mu.Lock()
defer m.mu.Unlock()
- exists := make(map[string]bool, 0)
+ exists := map[string]bool{}
Review Comment:
@Jitmisra In your description I see:
> changes made
> • Added special handling for cases where a key exactly matches the prefix.
> • Improved comments to clarify the logic.
> • Ensured backward compatibility with existing behavior.
But I don't see them in the PR.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]