删除表后写超时

时间:2018-07-18 07:56:28

标签: cassandra

我有一个Cassandra集群,其中包含30个节点和大量数据。

我使用命令“ DROP TABLE ...”删除了所有表,并使用相同名称重新创建了表。之后,我遇到了很多错误:

  

com.sdeck.test.dao.common.exception.SaveDAOException:以一致性LOCAL_QUORUM(2进行写查询时,Cassandra超时   副本是必需的,但只有0个确认写入)

  1. 为什么会出现此错误?卡桑德拉会尝试修复幽灵数据吗?我怎么看?
  2. 下面的日志中的“未修复字节:2.388GiB”是什么意思?
Keyspace : test
    Read Count: 9201
    Read Latency: 0.6008622975763505 ms
    Write Count: 808915636
    Write Latency: 0.011556850168241772 ms
    Pending Flushes: 0
            Table: balances
            SSTable count: 6
            Space used (live): 813829739
            Space used (total): 813829739
            Space used by snapshots (total): 597037875
            Off heap memory used (total): 15587304
            SSTable Compression Ratio: 0.2636148669912117
            Number of partitions (estimate): 11449344
            Memtable cell count: 461574
            Memtable data size: 44076091
            Memtable off heap memory used: 0
            Memtable switch count: 265
            Local read count: 0
            Local read latency: NaN ms
            Local write count: 31156934
            Local write latency: 0.018 ms
            Pending flushes: 0
            Percent repaired: 0.0
            Bytes repaired: 0.000KiB
            Bytes unrepaired: 2.388GiB
            Bytes pending repair: 0.000KiB
            Bloom filter false positives: 0
            Bloom filter false ratio: 0.00000
            Bloom filter space used: 15274240
            Bloom filter off heap memory used: 15274192
            Index summary off heap memory used: 0
            Compression metadata off heap memory used: 313112
            Compacted partition minimum bytes: 125
            Compacted partition maximum bytes: 2759
            Compacted partition mean bytes: 235
            Average live cells per slice (last five minutes): 7680.0
            Maximum live cells per slice (last five minutes): 8191
            Average tombstones per slice (last five minutes): 1.0
            Maximum tombstones per slice (last five minutes): 1
            Dropped Mutations: 40
            Failed Replication Count: null

P.S。 cassandra的版本是3.11

0 个答案:

没有答案