Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-3396

At the end transaction time(through commit/rollback), is clearing of the conglomerate (used for scans for update and delete) for an activation happening in the right place?

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 10.2.2.0
    • None
    • SQL
    • Normal

    Description

      This is a fallout from DERBY-3304 https://issues.apache.org/jira/browse/DERBY-3304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12566169#action_12566169 (Dan's comment "For the update conglomerate clearing, I think that's code that is in the wrong location, probably should be in the result set that set that field. That's probably a separate issue.")

      At the time of commit processing, GenericLangaugeConnectionContext.endTransactionActivationHandling does following
      a.clearHeapConglomerateController();
      At the time of rollback processing, BaseActivation.reset() does following
      updateHeapCC = null;

      Seems like the code for clearing conglomerate should be in a different place. I haven't done research myself but wanted to log it as a jira entry so we do not forget about it.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mamtas Mamta A. Satoor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: