Uploaded image for project: 'GeoCouch'
  1. GeoCouch
  2. GC-4

Spatial query crashing Couchbase Server

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • Security Level: Public
    • None
    • Two cluster configs:

      a) Single node cluster, Windows 7 64 256 MB RAM
      b) 4 node 64-bit Ubuntu cluster, 1024 MB RAM

    Description

      With documents that look like:

      { "name" : "Hartford", "state" : "CT", "type" : "city", "loc" : [41.763309,-72.67408] } { "name" : "Bridgeport", "state" : "CT", "type" : "city", "loc" : [41.181881,-73.191269] } { "name" : "Stamford", "state" : "CT", "type" : "city", "loc" : [41.051819,-73.542229] } { "name" : "New Haven", "state" : "CT", "type" : "city", "loc" : [41.307129,-72.92498] } { "name" : "New London", "state" : "CT", "type" : "city", "loc" : [41.356441,-72.096474] } { "name" : "Norwalk", "state" : "CT", "type" : "city", "loc" : [41.113659,-73.407654] }

      And a spatial function that looks like:

      "spatial" : {
      "by_location" : "function (doc, meta) { if (doc.type == \"city\") { emit(

      { \"type\": \"Point\", \"coordinates\": [doc.loc[0], doc.loc[1]]}

      , null); } "
      }

      running a spatial query crashes nodes (server, not OS). Diagnostics attached. Spatial queries were working on the same dev machine with DP4.

      Attachments

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

        Activity

          People

            vmx Volker Mische
            john John Zablocki (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