Skip to content

getAllKeys doesnt return all keys #427

@ghost

Description

I compiled v3.0.3 (igbinary support) for my since php7 branch (3.01b?) didnt gave results for getAllKeys() (CLIENT ERROR)

now it works, but i dont get all keys

https://stackoverflow.com/questions/54625489/memcached-not-storing-array-of-complex-items-with-specific-keys

array(1) { ["localhost:11212"]=> array(79) { ["pid"]=> int(31376) ["uptime"]=> int(13852) ["time"]=> int(1549883801) ["version"]=> string(6) "1.5.12" ["libevent"]=> string(13) "2.0.21-stable" ["pointer_size"]=> int(64) ["rusage_user"]=> float(4.856) ["rusage_system"]=> float(3.02) ["max_connections"]=> int(1024) ["curr_connections"]=> int(1) ["total_connections"]=> int(2158) ["rejected_connections"]=> int(0) ["connection_structures"]=> int(4) ["reserved_fds"]=> int(20) ["cmd_get"]=> int(4835) ["cmd_set"]=> int(2432) ["cmd_flush"]=> int(0) ["cmd_touch"]=> int(10) ["get_hits"]=> int(4669) ["get_misses"]=> int(166) ["get_expired"]=> int(0) ["get_flushed"]=> int(0) ["delete_misses"]=> int(1836) ["delete_hits"]=> int(3) ["incr_misses"]=> int(0) ["incr_hits"]=> int(0) ["decr_misses"]=> int(0) ["decr_hits"]=> int(0) ["cas_misses"]=> int(0) ["cas_hits"]=> int(0) ["cas_badval"]=> int(0) ["touch_hits"]=> int(10) ["touch_misses"]=> int(0) ["auth_cmds"]=> int(0) ["auth_errors"]=> int(0) ["bytes_read"]=> int(3063149) ["bytes_written"]=> int(3450961) ["limit_maxbytes"]=> int(1073741824) ["accepting_conns"]=> int(1) ["listen_disabled_num"]=> int(0) ["time_in_listen_disabled_us"]=> int(0) ["threads"]=> int(4) ["conn_yields"]=> int(0) ["hash_power_level"]=> int(16) ["hash_bytes"]=> int(524288) ["hash_is_expanding"]=> int(0) ["slab_reassign_rescues"]=> int(0) ["slab_reassign_chunk_rescues"]=> int(0) ["slab_reassign_evictions_nomem"]=> int(0) ["slab_reassign_inline_reclaim"]=> int(0) ["slab_reassign_busy_items"]=> int(0) ["slab_reassign_busy_deletes"]=> int(0) ["slab_reassign_running"]=> int(0) ["slabs_moved"]=> int(0) ["lru_crawler_running"]=> int(0) ["lru_crawler_starts"]=> int(5390) ["lru_maintainer_juggles"]=> int(174542) ["malloc_fails"]=> int(0) ["log_worker_dropped"]=> int(0) ["log_worker_written"]=> int(0) ["log_watcher_skipped"]=> int(0) ["log_watcher_sent"]=> int(0) ["bytes"]=> int(34906) ["curr_items"]=> int(92) ["total_items"]=> int(2432) ["slab_global_page_pool"]=> int(0) ["expired_unfetched"]=> int(55) ["evicted_unfetched"]=> int(0) ["evicted_active"]=> int(0) ["evictions"]=> int(0) ["reclaimed"]=> int(55) ["crawler_reclaimed"]=> int(1) ["crawler_items_checked"]=> int(1999) ["lrutail_reflocked"]=> int(652) ["moves_to_cold"]=> int(3916) ["moves_to_warm"]=> int(1687) ["moves_within_lru"]=> int(71) ["direct_reclaims"]=> int(0) ["lru_bumps_dropped"]=> int(0) } }

result of get stats

result of getAllKeys return not the 92 items in stats

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions