<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>12114</bug_id>
          
          <creation_ts>2011-02-18 00:02:28 +0000</creation_ts>
          <short_desc>Blocked setVersion transactions should be aborted when their database is closed</short_desc>
          <delta_ts>2011-03-08 00:50:11 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>Indexed Database API</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jeremy Orlow">jorlow</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>mike</cc>
    
    <cc>public-webapps</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>45791</commentid>
    <comment_count>0</comment_count>
    <who name="Jeremy Orlow">jorlow</who>
    <bug_when>2011-02-18 00:02:28 +0000</bug_when>
    <thetext>On Thu, Feb 17, 2011 at 3:58 PM, Pablo Castro &lt;Pablo.Castro@microsoft.com&gt; wrote:
&gt;&gt; What if you have two database connections open and both do a setVersion transaction and one calls .close (to yield to the other)?  Neither can start until one or the other actually is closed.  If a database is closed (not just close pending) then I think we need to abort any blocked setVersion calls.  If one is already running, it should certainly be allowed to finish before we close the database.

This sounds reasonable to me (special case and abort the transaction only for blocked setVersion transactions). We should capture it explicitly on the spec, it&apos;s the kind of little detail that&apos;s easy to forget.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>