Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-1742

Page ids are not sufficiently unique

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.4.1, 7.6
    • 7.1
    • Query Engine
    • None
    • Hide

      Set a small processor batch size (16), start the server and create a single temporary table. Write 16 rows. Continually add/delete another 16 rows. After 2^32 such updates the insert will fail with an assertion error.

      Show
      Set a small processor batch size (16), start the server and create a single temporary table. Write 16 rows. Continually add/delete another 16 rows. After 2^32 such updates the insert will fail with an assertion error.

      The pages used for internal matviews / temporary tables currently use a single shared integer for id generation. Conflicts are possible then after 2^32 page allocations that access the buffermanager.

      In practice this condition should take a minimum of several weeks to trigger, but more likely it would take months if not years (fewer updates, larger page sizes, less chance of an id conflict, etc.)

            rhn-engineering-shawkins Steven Hawkins
            rhn-engineering-shawkins Steven Hawkins
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: