Hi Gangaiah,

1. Can you please share a minimal reproducer?
2. Did it work before in 2.7.6?


On Sun, Nov 7, 2021 at 9:21 PM Ganguly Gundeboina <gangaiah.ya...@gmail.com>
wrote:

> Hi Igniters,
>
>
>
> We have upgraded to 2.11 from 2.7.6 and trying to use Ignite thin clients
> in the latest version i.e. 2.11.0, we found one weird issue, *get/getAll* call
> is not returning data for caches which has *complex/composite key *(Same
> is working with thick clients properly). Has anyone came around this
> behaviour?
>
>
> And also the get/getall working for the keys which are updated/inserted
> using thin client.
>
>
>
> Below is the cache config of the same:
>
>
>
> <bean class="org.apache.ignite.configuration.CacheConfiguration"
> parent="cache-template">
>
>     <property name="name" value="MapCustOTTCache" />
>
>     <property name="cacheMode" value="PARTITIONED" />
>
>     <property name="atomicityMode" value="ATOMIC" />
>
>     <property name="backups" value="1" />
>
>     <property name="statisticsEnabled" value="true"/>
>
>     <property name="queryEntities">
>
>         <list>
>
>             <bean class="org.apache.ignite.cache.QueryEntity">
>
>                 <property name="keyType" value="com.model.MapCustOTTKey" />
>
>                 <property name="valueType" value="com.model.MapCustOTT" />
>
>                 <property name="keyFields">
>
>                     <list>
>
>                         <value>partyId</value>
>
>                         <value>serviceType</value>
>
>                     </list>
>
>                 </property>
>
>                 <property name="fields">
>
>                     <map>
>
>                         <entry key="partyId" value="java.lang.String" />
>
>                         <entry key="serviceType" value="java.lang.String"
> />
>
>                         <entry key="subscriptionIdList"
> value="java.lang.String" />
>
>                         <entry key="updatedby" value="java.lang.String" />
>
>                         <entry key="updateddatetime"
> value="java.sql.Timestamp" />
>
>                     </map>
>
>                 </property>
>
>                 <property name="aliases">
>
>                     <map>
>
>                         <entry key="partyId" value="PARTY_ID" />
>
>                         <entry key="serviceType" value="SERVICE_TYPE" />
>
>                         <entry key="subscriptionIdList"
> value="SUBSCRIPTION_ID_LIST" />
>
>                         <entry key="updatedby" value="UPDATEDBY" />
>
>                         <entry key="updateddatetime"
> value="UPDATEDDATETIME" />
>
>                     </map>
>
>                 </property>
>
>                 <property name="indexes">
>
>                     <list>
>
>                         <bean class="org.apache.ignite.cache.QueryIndex">
>
>                             <property name="name" value="MAP_CUST_OTT_PK"
> />
>
>                             <property name="indexType" value="SORTED" />
>
>                             <property name="fields">
>
>                                 <map>
>
>                                     <entry key="partyId" value="false" />
>
>                                     <entry key="serviceType" value="false"
> />
>
>                                 </map>
>
>                             </property>
>
>                         </bean>
>
>                     </list>
>
>                 </property>
>
>             </bean>
>
>         </list>
>
>     </bean>
>
>
> Regards,
>
> Gangaiah
>

Reply via email to