Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-1451

Crash while finishing DB compaction on 1.2.x branch

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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

        Hide
        rnewson 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
        rnewson 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)
        Hide
        fdmanana 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
        fdmanana 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.
        Hide
        stefankoegl Stefan Kögl added a comment -

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

        Show
        stefankoegl Stefan Kögl added a comment - This was actually discovered with 1.1.2a34dfda6-git, not 1.2.x
        Hide
        stefankoegl 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
        stefankoegl Stefan Kögl added a comment - with the patch db compaction worked on a 1.1.2a34dfda6-git and a 1.2.0 instance
        Hide
        fdmanana Filipe Manana added a comment -

        Stefan, can you try this small patch?

        Show
        fdmanana Filipe Manana added a comment - Stefan, can you try this small patch?

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development