Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-16817

Fix ERROR message which prints data information in the logs

    XMLWordPrintableJSON

Details

    Description

      StorageProxy.mutateMV might log an error message that prints user data in the logs beyond the row key, for example:

      ERROR [MutationStage-2] 2021-07-28 13:08:52,609 StorageProxy.java:1002 - Error applying local view update to keyspace k: Mutation(keyspace='k', key='00000001', modifications=[
        [k.mv] key=1 partition_deletion=deletedAt=-9223372036854775808, localDeletion=2147483647 columns=[[] | []]
          Row[info=[ts=1627474132606719] ]: k=0, v=MY CONFIDENTIAL DATA |
      ])
      

      We should probably change that log message so it doesn't print the entire mutation but only the keyspace, tables and partition key of the mutation.

      Attachments

        Activity

          People

            adelapena Andres de la Peña
            adelapena Andres de la Peña
            Andres de la Peña
            Brandon Williams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: