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

Remote query with Ickle returns null in list

    XMLWordPrintable

Details

    • Task
    • Resolution: Won't Do
    • Major
    • None
    • 10.0.1.Final
    • Remote Querying
    • None

    Description

      Doing a query with Ickle:

      var query = Search
          .getQueryFactory(devicesCache)
          .create(
              "from io.enmasse.iot.registry.infinispan.data.DeviceInformation d where d.tenantId=:tenantId",
              IndexedQueryMode.BROADCAST)
          .maxResults(config.getDeletionChunkSize())
          .setParameter("tenantId", tenantId);
      var list = query.list();
      

      sometimes returns null entries in the result list:

      08:41:10.201 [main] DEBUG i.e.i.t.c.InfinispanTenantCleaner - List: [null, null, null, null, null, null, null, null, null, DeviceInformation{tenantId=jbtest.iot/2019-12-02T08:22:49Z, deviceId=http-inserter-lghfn222, version=23c01c7a-40dd-40ca-a703-ba37e0f9ae1d, registrationInformation={}, credentials=[DeviceCredential{authId=http-inserter-lghfnauth-222, type=hashed-password, enabled=null, secrets=[{"hash-function":"sha-256","pwd-hash":"YL83poc4t6wVqJm3zjcUpGI9GUVMi3u5uyK/OSdlepc=","salt":"+DXyglWxFg4="}]}]}, DeviceInformation{tenantId=jbtest.iot/2019-12-02T08:22:49Z, deviceId=http-inserter-w7lsv262, version=2cf8b8b0-a207-45ea-b0bc-5403c67f64b5, registrationInformation={}, credentials=[DeviceCredential{authId=http-inserter-w7lsvauth-262, type=hashed-password, enabled=null, secrets=[{"hash-function":"sha-256","pwd-hash":"vdO2o/73VTXxyCbaMxBn5Y
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            jreimann-2 Jens Reimann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: