Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

jordanp98 avatar image
jordanp98 asked Erick Ramirez edited

Mutation size 16.010MiB is too large for the maximum size of 16.000MiB

Hi I am getting this error in logs for my dev cluster.

ERROR [CoreThread-0] 2021-05-24 20:48:52,164  VerbHandlers.java:77 - Unexpected error during execution of request WRITES.WRITE (730239): /192.168.120.51 -> /192.168.120.51

java.lang.IllegalArgumentException: Mutation (keyspace dev_emailtest, tables [405df571-ff1f-11ea-9884-216549bd9db8], partition key DecoratedKey(-7798829169836753650, 0008000000000000139b000005454d41494c0000080011d5a4609914750000147465737440696e6772616d6d6963726f2e636f6d000028696e746567726174696f6e5f35303139393736353736303738393635407961676e6169712e636f6d00000000)) with size 16.010MiB is too large for the maximum size of 16.000MiB

please check and suggest workaround to resolve this error

dse
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered Erick Ramirez edited

As the error suggests, a mutation (write request) is too big and larger than the maximum size of 16MB (max_mutation_size_in_kb).

This indicates that your app is performing very large inserts or updates and you need to review your code to figure out why it's doing that.

As I mentioned before, if you require assistance with DSE then please log a ticket with DataStax Support so one of our engineers can assist you directly. Cheers!

Share
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.