Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-7791

[windows] queries failed with batch_sort_failed eaccess error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Critical
    • 2.1.0
    • 2.0.1
    • 3rd-party
    • Security Level: Public

    Description

      test viewquerytests.ViewQueryTests.test_employee_dataset_startkey_endkey_queries

      Test case info:

      Test uses employee data set:
      -documents are structured as

      {"name": name<string>, "join_yr" : year<int>, "join_mo" : month<int>, "join_day" : day<int>, "email": email<string>, "job_title" : title<string>, "type" : type<string>, "desc" : desc<tring>}

      Steps to repro:
      1. Start load data
      2. Simultaneously start querying(starkey endkey descending
      inclusive_end combinations)

      Views structure are:
      Views : ['test_view-af3f718 : map_fn=function (doc)

      { if(doc.job_title !== undefined) emit([doc.join_yr, doc.join_mo, doc.join_day], [doc.name, doc.email] ); }, reduce_fn=None', 'test_view-63a8408 : map_fn=function (doc) { if(doc.job_title !== undefined) { var myregexp = new RegExp("^UI "); if(doc.job_title.match(myregexp)){ emit([doc.join_yr, doc.join_mo, doc.join_day], [doc.name, doc.email] );}}}, reduce_fn=None', 'test_view-cc3009e : map_fn=function (doc) { if(doc.job_title !== undefined) { var myregexp = new RegExp("^System "); if(doc.job_title.match(myregexp)){ emit([doc.join_yr, doc.join_mo, doc.join_day], [doc.name, doc.email] );}}}, reduce_fn=None', 'test_view-3c844d7 : map_fn=function (doc) { if(doc.job_title !== undefined) { var myregexp = new RegExp("^Senior "); if(doc.job_title.match(myregexp)){ emit([doc.join_yr, doc.join_mo, doc.join_day], [doc.name, doc.email] );}}}, reduce_fn=None', 'test_view-8c85da1 : map_fn=function (doc) { if(doc.job_title !== undefined) emit([doc.join_yr, doc.join_mo, doc.join_day], [doc.name, doc.email] ); }

      , reduce_fn=_count', 'test_view-c3d973a : map_fn=function (doc, meta) { if(doc.job_title !== undefined) { var myregexp = new RegExp("^admin"); if(meta.id.match(myregexp))

      { emit([doc.join_yr, doc.join_mo, doc.join_day], [doc.name, doc.email] );}

      }}, reduce_fn=None']

      got partially results, and from one of the nodes eacces error:
      [{u'reason': u'{batch_sort_failed,{file_error,"c:/Program Files/Couchbase/Server/var/lib/couchbase/data/@indexes/default/tmp_ab46cb6651b5cb601374dd94a9f8b1b4_main/22fe520aafb45bdc63def45dd3095140.sort",\n eacces}}', u'from': u'http://10.3.2.243:8092/_view_merge/?startkey=%5B2008%2C7%2Cnull%5D&stale=false&debug=true'}]

      attaching logs

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            trond Trond Norbye
            iryna iryna
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty