Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-2768

Some ideas about four word command

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.4.10, 3.5.1, 3.5.2
    • None
    • contrib
    • None

    Description

      Some ideas about four word command
      1) about cons,can we add command dimension data,such like
      now
      /10.204.2.39:63943[1](queued=0,recved=7,sent=7,sid=0x154c32e8c2a5b8c,lop=PING,est=1483669807748,
      to=10000,lzxid=0xffffffffffffffff,lresp=1493362823544,llat=0,minlat=0,avglat=0,maxlat=1)
      -----------------------------------
      after
      /10.204.2.39:63943[1](queued=0,recved=7,sent=7,sid=0x154c32e8c2a5b8c,lop=PING,est=1483669807748,
      to=10000,lzxid=0xffffffffffffffff,lresp=1493362823544,llat=0,minlat=0,avglat=0,maxlat=1,
      cmd={{op=ping,count=10000,time=123405,maxTime=34},

      {op=setData,count=5000,time=2246,maxTime=21}

      ,{op=getData,count=3000,time=34345,maxTime=14}})

      2) about wchc and wchp,can we add param in order to return litter data,such as
      wchc 0x154c32e8c2a5b8c
      wchp /path/temp

      3)many scenarios we need to monitor the detailed slow request,so we need a slow log queue,such as

      slow

      setData /path/temp aaaaaaaaaaaaaaa clientIp useTime
      setData /path/temp bbbbbbbbbbbbbbb clientIp useTime

      Attachments

        Activity

          People

            Unassigned Unassigned
            wangzhen Zhen Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: