Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-15023

Counter Fetching Issue: Empty List for Initial Counter, Subsequent Counters Work Fine

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Counters, REST
    • None

      When we create the first counter, there seems to be an issue with the fetch operation as it doesn't always work correctly, resulting in an empty list when attempting to fetch the counters. However, interestingly, once we create and fetch a counter after the first one, everything functions as expected. 

       

      REST API's:

      Create counter: 

      POST /rest/v2/counters/{counterName}

      Fetch counter: 

      GET /rest/v2/counters/

       

      Screencast of Console Screencast from 2023-07-06 12-06-50.webm

            pruivo@redhat.com Pedro Ruivo
            dipgupta@redhat.com Dipanshu Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: