DataRegion sysMemPlc, TxLog

2020-07-14 Thread kay
Hello We found sysMempPlc and Txlog DataRegion. What is each role? Do I have to monitoring thoes regions?? Thank you so much -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: How to do cache.get() on SQL table by primary key with multiple columns?

2020-07-14 Thread Evgenii Zhuravlev
John, It's not necessary to have class at all, you can specify any type, you just need to use this type when creating binary object for this key. вт, 14 июл. 2020 г. в 17:50, John Smith : > I just used two columns as primary key... > > Of I use key_type and specify a type does that class need to

Re: How to do cache.get() on SQL table by primary key with multiple columns?

2020-07-14 Thread John Smith
I just used two columns as primary key... Of I use key_type and specify a type does that class need to exist in the class path of the server nodes? Like if I have class MyKeyClass { Integer col1; Integer col2; } Does this class need to be loaded in all nodes or ignite can figure it out an

Re: Ignite Native Persistence With write behind additional store

2020-07-14 Thread Evgenii Zhuravlev
Hi, There is no guarantee of data consistency between Ignite persistence and 3rd party DB in this case. Storages will be synchronized in case of one of the node failure. You can try to run some explicit checking for data consistency, but I believe it won't be easy with the load. Evgenii вт, 14 и

Re: How to do cache.get() on SQL table by primary key with multiple columns?

2020-07-14 Thread Evgenii Zhuravlev
Hi John, To do this, you need to create a key object with the same type as you have for the table. If you don't specify KEY_TYPE in the create table script, it will be generated automatically. I would recommend to specify it for the command(just type name, if you don't have a class) and, when you

Re: Block until partition map exchange is complete

2020-07-14 Thread ssansoy
Hi, the following setup should reproduce the issue: A server class starts up a server node with the config in my original mail (eg 3 servers, partitioned with 1 backup). In that class, at the end do something like: ignite.events(ignite.cluster().forServers()).localListen(ignitePredicate,

Ignite Native Persistence With write behind additional store

2020-07-14 Thread Devakumar J
Hi, I am exploring ways to do data backup along with native persistence. Is it possible to achieve this using cache store implementation. So that data will be persisted in disk as well as replica copy. Thanks, Devakumar J -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

How to do cache.get() on SQL table by primary key with multiple columns?

2020-07-14 Thread John Smith
Hi, I have an SQL table create table if not exists my_table ( column1 int, column2 int, column3 varchar(16), PRIMARY KEY (column1, column2) ) with "template=replicatedTpl"; and I'm creating my near cache as follows... IgniteCache myCache; NearCacheConfiguration nearConfig = new NearCacheConfigu

Re: native persistence

2020-07-14 Thread akorensh
Hi, Indexes are stored in the same place as the data, in a file called index.bin You can't change the relative location of the index file(s). Only the storage path/wal path/wal archive path(s) could be specified. See: https://apacheignite.readme.io/docs/distributed-persistent-store#configu

native persistence

2020-07-14 Thread narges saleh
Hi All, I have read that it is a good idea to have wal, walarchive and data on separate drives. How about indexes? How would you specify the path for the indexes? Is the idea to specify the data and indexes on one drive and wal/walarchive on another? thanks.

Re: enum behavior in REST

2020-07-14 Thread Maxim Volkomorov
Hi! http://localhost:8080/ignite?cmd=get&cacheName=eventors&keyType=string&key=12345 {"successStatus":0,"affinityNodeId":"a34539ec-9c1a-44f9-b400-5d9b63a8a72c","error":null,"sessionToken":null,"response":{"date":"Jul 14, 2020 9:34:35 AM","score":1,"eventorStatus":{"platformType":false},"eventorUu