Details
-
Bug
-
Resolution: Fixed
-
Critical
-
3.0
-
Security Level: Public
-
None
-
3.0.0-570-rel
-
Triaged
-
Ubuntu 64-bit
-
Yes
Description
Duplicate results returned when queried documents with unicode keys after update operation
Jenkins Link:
http://qa.hq.northscale.net/job/ubuntu_x64--10_02--document_key-P0/16/consoleFull
Test to Reproduce:
./testrunner -i /tmp/document-keys.ini get-cbcollect-info=True -t docs.documentkeys.DocumentKeysTests.test_dockey_unicode_data_ops_moxi,items=1000
Steps to Reproduce:
1. Insert documents with keys having unicode(non-ascii) characters e.g. "\u00CA" via Moxi
2. Create and Query View
3. Update documents
4. Query Again
Test Logs:
======================================================================
ERROR: test_dockey_unicode_data_ops_moxi (docs.documentkeys.DocumentKeysTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "pytests/docs/documentkeys.py", line 149, in test_dockey_unicode_data_ops_moxi
self._dockey_data_ops_with_moxi("mix 你好", "update")
File "pytests/docs/documentkeys.py", line 107, in _dockey_data_ops_with_moxi
self._verify_with_views(expected_rows)
File "pytests/docs/documentkeys.py", line 43, in _verify_with_views
self.cluster.query_view(self.master, ddoc_name, default_view.name, query, expected_rows, bucket=bucket.name)
File "lib/couchbase/cluster.py", line 445, in query_view
return _task.result(timeout)
File "lib/tasks/future.py", line 160, in result
return self.__get_result()
File "lib/tasks/future.py", line 112, in __get_result
raise self._exception
QueryViewException: Error occured querying view View: expected number of rows: '1000' is greater than expected 1971
Uploading Logs
Attaching Query result with debug=true