You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by shivakumar <sh...@gmail.com> on 2020/11/29 14:50:04 UTC

connecting to visor shell permanently stops unwanted WAL clean-up

I have noticed a strange behaviour when i connect to visor shell after
ingesting large amount of data to ignite cluster. 
Below is the scenario:
I have deployed 5 node Ignite cluster on K8S with persistence enabled
(version 2.9.0 on java 11)
I started ingesting data to 3 tables and after ingesting large amount of
data using JDBC batch insertion (around 20 million records to each of 3
tables with backup set to 1), now i connected to visor shell (from one of
the pod which i deployed just to use as visor shell) using the same ignite
config file which is used for ignite servers and after visor shell connects
to ignite cluster the unwanted wal record cleanup stopped (which should run
post checkpoint ) and WAL started growing linearly as there is continuous
data ingestion. This is making WAL disk run out of space and pods crashes.
I have attached config file which i used to deploy ignite as well as used to
connect to Ignite visor shell.
Please let me know if am doing something wrong.
command used to connect visor shell
./ignitevisorcmd.sh -cfg=/opt/ignite/conf/ignite-config.xml
There are frequent logs with following message after connection of visor,

Could not clear historyMap due to WAL reservation on cp: CheckpointEntry
[id=c7ef72fb-b701-427b-a383-f8035c7985c1, timestamp=1606590778899,
ptr=FileWALPointer [idx=26090, fileOff=24982860, len=9572]], history map
size is 38 


could you please let me know if am doing anything wrong or any known issue
around this?


Regards,
Shiva
 




--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: connecting to visor shell permanently stops unwanted WAL clean-up

Posted by vbm <bm...@gmail.com>.
Even I had seen the same issue in ignite 2.9.0 cluster with jdk11.
We have tried disabling WAL archive but still the same issue is seen. 

When we had tried in older release 2.7.6 we had not seen such issue.
Is this a known issue in 2.9 wrt WAL (FSYNC) ? Any configuration change has
to be done wrt to java 11 ?




--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: connecting to visor shell permanently stops unwanted WAL clean-up

Posted by shivakumar <sh...@gmail.com>.
I with 100 GB of data in persistence store this is easily reproducible not
sure what is causing this,
any one please let me know how visor gets number of records from cache and
what could be the issue of blocking wal cleanup. Iam adding wal usage graph
where without connecting to viros the wal usage was max 6GB but once i
connect visor it started growing until i stop data ingestion and it will not
even comeback from the max.
<http://apache-ignite-users.70518.x6.nabble.com/file/t2244/ignite_wal_usage.png> 
 



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: connecting to visor shell permanently stops unwanted WAL clean-up

Posted by shivakumar <sh...@gmail.com>.
ignite-config.xml
<http://apache-ignite-users.70518.x6.nabble.com/file/t2244/ignite-config.xml>  
attached config file used 



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/