Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-7181

[RESP] KEYS may cause server to get stuck

XMLWordPrintable

      Infinispan:

      127.0.0.1:11222> FLUSHDB
      OK
      127.0.0.1:11222> SET aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 1
      OK
      127.0.0.1:11222> KEYS "a*a*a*a*a*a*a*a*a*a*a*a*a*a*a*a*a*a*a*a*b"
      -> stuck here <-
      

      Redis

      127.0.0.1:6379> FLUSHDB
      OK
      127.0.0.1:6379> SET aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 1
      OK
      127.0.0.1:6379> KEYS "a*a*a*a*a*a*a*a*a*a*a*a*a*a*a*a*a*a*a*a*b"
      (empty array)
      

      Attempt to shut down server shows that netty is still connected:

      ...
      2024-06-28 13:06:29,583 INFO  [o.i.SERVER] ISPN080001: Red Hat Data Grid Server 8.5.0.GA started in 3320ms
      ^C*** Server process (101911) received INT signal ***
      2024-06-28 13:14:30,448 INFO  [o.i.SERVER] ISPN080002: Red Hat Data Grid Server stopping
      2024-06-28 13:14:30,558 WARN  [o.i.s.c.t.NettyTransport] ISPN005007: [id: 0x54c68873, L:/127.0.0.1:11222 - R:/127.0.0.1:43604] is still connected to /127.0.0.1:43604
      

      Test: https://github.com/redis/redis/blob/7.2.5/tests/unit/keyspace.tcl#L497-L501

            rh-ee-jbolina Jose Bolina
            rhn-support-pdrobek Pavel Drobek
            Pavel Drobek Pavel Drobek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: