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

REST API Relay Node and Site View

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 14.0.2.Final
    • REST
    • None

    Description

      The cluster manager endpoint does not respond the same cross site information if the node is a coordinator or not

       

      ContainerResource.java
      .invocation().methods(GET).path("/v2/cache-managers/{name}").handleWith(this::getInfo)
      

       

       

      Can be reproduced running: https://github.com/infinispan/infinispan-simple-tutorials/blob/main/infinispan-remote/cross-site-replication/docker-compose/docker-compose.yaml

      if coordinator (for example calling http://localhost:11222/rest/v2/cache-managers/default)

      "local_site""LON","relay_node"true,"relay_nodes_address": ["90143ff0b02c-35047"],"sites_view": ["LON","NYC"]

       

      if not coordinator( for example calling http://localhost:11221/rest/v2/cache-managers/default)

      "local_site""LON","relay_node"false,"relay_nodes_address": ["90143ff0b02c-35047"],"sites_view": [],

      Attachments

        Issue Links

          Activity

            People

              karestig@redhat.com Katia Aresti
              karestig@redhat.com Katia Aresti
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: