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

running view on 10k json on single node does not return all keys

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.0-beta
    • 2.0-beta
    • ns_server
    • Security Level: Public
    • None

    Description

      run this test

      ./testrunner -t viewtests.ViewTests.test_view_on_10k_docs -i (some_resource_file)

      this test case insert 10k json documents with "name" and "age"
      then uses a map function to get all these 10k items back but map function returns only 9850 items

      when i run the same test with only 100 items it passes so its a timing issue here.

      map function : function (doc) {if(doc.name.indexOf("abc") != -1) { emit(doc.name, doc);}}

      Attachments

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

        Activity

          People

            FilipeManana Filipe Manana (Inactive)
            farshid Farshid Ghods (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty