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

Exception should be thrown on cache creation attempt inside transaction

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Exception should be thrown on cache creation attempt inside transaction to prevent deadlocks since cache start triggers exchange and exchange cannot finish until all txs are finished.

      We need to check if thread owns a tx before starting cache and if it does then IllegalStateException should be thrown.

        Attachments

          Activity

            People

            • Assignee:
              xtern Pavel Pereslegin
              Reporter:
              yzhdanov Yakov Zhdanov
            • Votes:
              4 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

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