Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-17309

Transactional support for partition scans

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      It's required to add transactional support to

      org.apache.ignite.internal.table.InternalTable#scan 

      binding it to

      org.apache.ignite.internal.storage.MvPartitionStorage#scan(java.util.function.Predicate<org.apache.ignite.internal.schema.BinaryRow>, java.util.UUID) 

      along with acquiring corresponding locks, namely S_commit(table) - if a predicate can produce phantom reads, IS_commit(table) - otherwise.

      Besides transactional support itself, it worth to introduce direct storage reads from within PrimaryReplica instead of going through raft.

      Attachments

        Activity

          People

            v.pyatkov Vladislav Pyatkov
            alapin Alexander Lapin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: