I keep seeing this message in the logs, mainly everytime the query is made.
Query SELECT username AS col6,gender AS col1,last_name AS col2,email AS col3,first_name AS col4,something_uuid AS col5,group_email AS col7,deleted AS col8,puars AS col9 FROM something_data WHERE username=?; is not prepared on /XX.YY.91.205:9042, preparing before retrying executing. Seeing this message a few times is fine, but seeing it a lot may be source of performance problems.
The query is made using a mapper.get("username") ---> com.datastax.driver.mapping.Mapper
That's how I initialize the mapper in the constructor. After that I don't use the mappingManager anymore.
this.mapper = mappingManager.mapper(MyPojo.class);
Any clues why?
MappingManager
&Mapper
instances? I suspect that you don't keepMappingManager
after its creation – Alex Ott