Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-1118

[Distributed] Limit query log lag in mid consistency level

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • Core/Cluster

    Description

      We provide a middle level of read consistency, which is a best-effort strategy, and will try to synchronize with the leader and uses the local data when the synchronization times out. However, the maximum log lag is undefined, which means the node can be arbitrarily far from the leader (missing arbitrarily length of logs) and incurs inconvenience when the user wants to control the data freshness.

      To resolve this, a configuration should be provided like `max_read_log_lag`, which only takes effect when the consistency level is set to mid, and queries will fail if the log lag exceeds this configuration after a time out.

      Attachments

        Issue Links

          Activity

            People

              wangchao316 Chao Wang
              jt2594838 Tian Jiang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: