Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-26409

Assign NO_TXN operation type for table in global locks for scheduled queries

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      NO_TXN operation type has to be assigned while acquiring locks for the table in global locks because this will not add records to COMPLETED_TXN_COMPONENTS table. Currently the record introduced by this lock had writeId as NULL. There was a situation which lead to large number of records in COMPLETED_TXN_COMPONENTS table because these records had writeId as NULL which weren't deleted up by AcidHouseKeeperService/Cleaner and this subsequently lead to OOM errors.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            sbadhya Sourabh Badhya Assign to me
            sbadhya Sourabh Badhya
            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 - 0.5h
              0.5h

              Slack

                Issue deployment