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

Use epoch based table ids by default

    XMLWordPrintableJSON

Details

    Description

      The initial implementation of CEP-21 depends on the use of deterministic table identifiers, as the table creation itself is performed by each node locally. This is suboptimal as recreating a previously dropped table can lead to the old data directory and files on disk, as well as CFIDs in the commit log being incorrectly associated with the new table.
      As the epoch gives us a unique identifier for each creation event, we can base the table id on that to ensure uniqueness.

      Implementation can be found in:
      https://github.com/beobal/cassandra/commit/89a0a2bfb0d1646e8057d9bb69f8ce558ef3b483

      CI summary results attached. For right now, we've only been foccussing on unit tests, in-jvm & python dtests, so the failures in other suites are to be expected. Unfortunately, the archive containing the detailed results is too large to attach as a single file, so will look into the best way to work around that.
      The intention is to fix all suites before merging the feature branch.

      Suite Total Passed Skipped Failed Errors
      jvm dtest 1508 1465 24 8 11
      python dtest 1083 790 262 28 3
      unit 12082 12006 61 6 9

      Attachments

        1. ci_summary.html
          7 kB
          Sam Tunnicliffe

        Activity

          People

            marcuse Marcus Eriksson
            samt Sam Tunnicliffe
            Marcus Eriksson
            Alex Petrov, Sam Tunnicliffe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: