Inquiry about Data Storage in ignite3: RockDB Usage and Data Preloading

2024-06-04 Thread
Hello,
I am trying out ignite3 and have a few questions about RocksDB.
My specific questions are as follows:
1. Is the usage of RocksDB in Ignite3 equivalent to using Ignite3's native 
storage, or are there any significant differences in terms of performance, 
maintenance, or functionality?
2. If I were to use RocksDB, would I need to preload data before it can be 
effectively utilized by Ignite3? (Like loadCache() in Ignite2)
3. Are there any specific use cases ?
Your expertise in this area would be greatly appreciated.
Thanks,
Xin Chang


The question about baseline、backup and Disaster recovery

2021-10-12 Thread

Hi All,
We are using Ignite 2.10.0 and we have  a question about  Partition 
Backups、baselineAutoAdjust and Disaster recovery.
We have three nodes:A、B、C,and baseline auto adjustment enabled、no backup, 
if one of them is down,for example ,node C is down,then the baseline topology 
cannot be adjusted automatically because of partition loss. Stop the node A、B 
and then restart these node. The cluster will wait for all baseline nodes to be 
online. 
By analogy, if we have 100 nodes, and then one node shut down, and this 
cannot be restarted, the above situation will also occur.Without manual 
intervention, the baseline topology will never be adjusted to the remaining 99 
nodes. When the cluster restarts, it will also wait for this node to join, so 
the cluster cannot be activated.
So,we must exclude the failed node that cannot be restarted before 
attempting to reset the state of lost partitions,Then execute the command 
”--cache reset_lost_partitions“ on each cache.
If we stop the nodes in the order of A, B, and C, and wait for the baseline 
topology change after each stop, if we want to restart the  cluster, we must 
restart in the order of A, B, and C, right?




Question about ShutdownPolicy

2021-10-11 Thread
Hi All,
There is a sentence in the start and stop chapter of the developer's  guide,  
"A graceful shutdown allows the node to finish critical operations and 
correctly complete its lifecycle", and I want to know the critical 
operations,so I read the source code.But I found that no matter what the 
ShutdownPolicy  is , only one method is executed.

The default policy is IMMEDIATE, so how to use GRACEFUL policy?

-

Thanks & Regards,
Xin Chang



temp4cj.png
Description: Binary data


回复:use java code to dynamic change sturcture of cache value

2021-08-20 Thread
Thank you,Stephen.yes,I have found the feature in the release planning.When the 
ignite 3.0 will be release?


--
发件人:Stephen Darlington 
发送时间:2021年8月19日(星期四) 23:09
收件人:user 
主 题:Re: use java code to dynamic change sturcture of cache value

Basically you need to do both: change the Java class and run the SQL “ALTER 
TABLE” command. Until Ignite 3.0, they are (effectively) two distinct schemas, 
and you need to manage them separately.


On 19 Aug 2021, at 11:14, 常鑫  wrote:

Hi All,
We are using Ignite 2.10.0 and we have a question on dynamic change sturcture 
of cache value.
For example, a cache stores objects of the Person type.At first,it have two 
field: "name" and "salary",then a new node join the cluster ,but the person 
type it used have three field:"name"、  “salary" and "newCol".  I can operate 
the new field with key-value API.But I can't see it from SQL Tools.The SQL tool 
shows columns only which are present when Ignite cache has been initialized 
first time. 
   So how to publish the java code structure to the table structure.I know the 
ddl language,but I still wonder the answer.


-
Thanks & Regards,
Xin Chang







use java code to dynamic change sturcture of cache value

2021-08-19 Thread

Hi All,
We are using Ignite 2.10.0 and we have a question on dynamic change sturcture 
of cache value.
For example, a cache stores objects of the Person type.At first,it have two 
field: "name" and "salary",then a new node join the cluster ,but the person 
type it used have three field:"name"、  “salary" and "newCol".  I can operate 
the new field with key-value API.But I can't see it from SQL Tools.The SQL tool 
shows columns only which are present when Ignite cache has been initialized 
first time. 
   So how to publish the java code structure to the table structure.I know the 
ddl language,but I still wonder the answer.


-
Thanks & Regards,
Xin Chang