Re: How can I detect DB writing abnormal in case of write-behind?

2016-11-15 Thread ght230
I had tried to enable cache statistics, but it did not work. my cache configure as following:

Re: How can I detect DB writing abnormal in case of write-behind?

2016-11-15 Thread vdpyatkov
Hi, You should enable cache statistics: ... for get correct value from metrics. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/How-can-I-detect-DB-writing-abnormal-in-case-of-write-behind-tp8954p8989.html Sent from the Apache Ignite Users

Re: How can I detect DB writing abnormal in case of write-behind?

2016-11-14 Thread ght230
I am not understand what you mean: "In this process, something wrong in the DB, then data can not be written into it." -->For one case, some field setting was wrong in DB, such as the field length of DB is less than that in the Pojo. For another case, when process write-behind, the DB down.

Re: How can I detect DB writing abnormal in case of write-behind?

2016-11-14 Thread Vladislav Pyatkov
Hi, I am not understand what you mean: "In this process, something wrong in the DB, then data can not be written into it." How did you detect this? If "write behind" flag was set as true, a data will inserted into DB asynchronously (in dedicated thread). You should to wait when the data will be