Mutation of 17076203 bytes is too large for the maxiumum size of 16777216

前端 未结 2 2001
温柔的废话
温柔的废话 2020-12-16 06:55

I have \"commitlog_segment_size_in_mb: 32\" in the cassandra settings but the error below indicates maximum size is 16777216, which is about 16mb. Am I looking at the correc

2条回答
  •  太阳男子
    2020-12-16 07:37

    Its the correct setting.. This means Cassandra will discard this write as it exceeds 50% of the configured commit log segment size. So set the parameter commitlog_segment_size_in_mb: 64 in Cassandra.yaml of each node in cluster and restart each node to take effect the changes.

    Cause: By design intent the maximum allowed segment size is 50% of the configured commit_log_segment_size_in_mb. This is so Cassandra avoids writing segments with large amounts of empty space.

    To elaborate; up to two 32MB segments will fit into 64MB, however 40MB will only fit once leaving a larger amount of unused space.

    reference link from datastax:

    https://support.datastax.com/hc/en-us/articles/207267063-Mutation-of-x-bytes-is-too-large-for-the-maxiumum-size-of-y-

提交回复
热议问题