CouchDB
  1. CouchDB
  2. COUCHDB-1451

Crash while finishing DB compaction on 1.2.x branch

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.2
    • Component/s: Database Core
    • Labels:
      None
    • Environment:

      Ubuntu 10.04 LTS, Erlang R15B

      Description

      I'm running a test instance of the CouchDB 1.1.2 branch (1.1.2a34dfda6-git) and noticed a crash while finishing db compaction

      A log from the first failing request to the first that succeeds again: http://friendpaste.com/2Y3WoxTj1VKYAiaEa0pUVF

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        4h 58m 1 Jan Lehnardt 28/Mar/12 21:28
        Resolved Resolved Closed Closed
        10s 1 Jan Lehnardt 28/Mar/12 21:28
        Jan Lehnardt made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Jan Lehnardt made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.2 [ 12315198 ]
        Resolution Fixed [ 1 ]
        Robert Newson made changes -
        Affects Version/s 1.1.2 [ 12318873 ]
        Hide
        Robert Newson added a comment -

        There is no 1.1.2 release and the line that filipe mentions does not exist on the 1.1.x branch (where 1.1.2 would come from if it existed)

        Show
        Robert Newson added a comment - There is no 1.1.2 release and the line that filipe mentions does not exist on the 1.1.x branch (where 1.1.2 would come from if it existed)
        Filipe Manana made changes -
        Summary Crash while finishing DB compaction on 1.1.2 branch Crash while finishing DB compaction on 1.2.x branch
        Affects Version/s 1.2 [ 12315198 ]
        Hide
        Filipe Manana added a comment -

        Looking at the the first error (badmatch) it's clear this affects only the 1.2.x branch.
        Also, in the logged db records, there's a 'snappy' compression field in them, which further reinforces this affects only 1.2.x and not 1.1.x or older releases.

        Show
        Filipe Manana added a comment - Looking at the the first error (badmatch) it's clear this affects only the 1.2.x branch. Also, in the logged db records, there's a 'snappy' compression field in them, which further reinforces this affects only 1.2.x and not 1.1.x or older releases.
        Stefan Kögl made changes -
        Summary Crash while finishing DB compaction on 1.2.x branch Crash while finishing DB compaction on 1.1.2 branch
        Stefan Kögl made changes -
        Affects Version/s 1.1.2 [ 12318873 ]
        Affects Version/s 1.2 [ 12315198 ]
        Description I'm running a test instance of the CouchDB 1.2.x branch (not the current HEAD, though) and noticed a crash while finishing db compaction

        A log from the first failing request to the first that succeeds again: http://friendpaste.com/2Y3WoxTj1VKYAiaEa0pUVF
        I'm running a test instance of the CouchDB 1.1.2 branch (1.1.2a34dfda6-git) and noticed a crash while finishing db compaction

        A log from the first failing request to the first that succeeds again: http://friendpaste.com/2Y3WoxTj1VKYAiaEa0pUVF
        Hide
        Stefan Kögl added a comment -

        This was actually discovered with 1.1.2a34dfda6-git, not 1.2.x

        Show
        Stefan Kögl added a comment - This was actually discovered with 1.1.2a34dfda6-git, not 1.2.x
        Hide
        Stefan Kögl added a comment -

        with the patch db compaction worked on a 1.1.2a34dfda6-git and a 1.2.0 instance

        Show
        Stefan Kögl added a comment - with the patch db compaction worked on a 1.1.2a34dfda6-git and a 1.2.0 instance
        Filipe Manana made changes -
        Hide
        Filipe Manana added a comment -

        Stefan, can you try this small patch?

        Show
        Filipe Manana added a comment - Stefan, can you try this small patch?
        Filipe Manana made changes -
        Field Original Value New Value
        Assignee Filipe Manana [ fdmanana ]
        Stefan Kögl created issue -

          People

          • Assignee:
            Filipe Manana
            Reporter:
            Stefan Kögl
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development