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

Add a mechanism to wait till a schema is available via Schema Sync at a ts

    XMLWordPrintableJSON

Details

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

    Description

      According to IEP-98, when obtaining a schema at a timestamp T, we need to wait till Meta-Storage SafeTime becomes >= T-DD. A mechanism for such waits needs to be implemented.

      It can be implemented either as methods like CompletableFuture<TableDefinition> table(String tableName, HybridTimestamp ts) (for each getting method) or a single method like CompletableFuture<Void> waitForTs(HybridTimestamp) (then usual sync methods to be used to get the definitions).

      Attachments

        Issue Links

          Activity

            People

              rpuch Roman Puchkovskiy
              rpuch Roman Puchkovskiy
              Aleksandr Polovtsev Aleksandr Polovtsev
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h