[SERVER-15480] Cannot compare position of Heap1BtreeImpl::ForwardCursor and Heap1BtreeImpl::ReverseCursor Created: 01/Oct/14  Updated: 02/Aug/18  Resolved: 20/Apr/15

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: 2.7.6
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Max Hirschhorn Assignee: Unassigned
Resolution: Done Votes: 0
Labels: 28qa
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-17635 Improve SortedDataInterface::Cursor API Closed
Participants:

 Description   

The static downcast from SortedDataInterface::Cursor to Heap1BtreeImpl::ForwardCursor is invalid when Heap1BtreeImpl::ForwardCursor::pointsToSamePlaceAs is called with a Heap1BtreeImpl::ReverseCursor instance. Similarly for Heap1BtreeImpl::ReverseCursor::pointsToSamePlaceAs.



 Comments   
Comment by Mathias Stearn [ 20/Apr/15 ]

No longer an issues after API changes from SERVER-17635.

Comment by Githook User [ 06/Oct/14 ]

Author:

{u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}

Message: SERVER-15480 Comment out CursorPointsToSamePlaceRegardlessOfDirection.

This test fails on OS X 10.8 C++11 DEBUG due to an invalid static
cast in both Heap1BtreeImpl::ForwardCursor::pointsToSamePlaceAs and
Heap1BtreeImpl::ReverseCursor::pointsToSamePlaceAs.

Closes #811

Signed-off-by: Benety Goh <benety@mongodb.com>
Branch: master
https://github.com/mongodb/mongo/commit/7f8634d97d39615970bc1b31c37c31e7f3e25f27

Generated at Thu Feb 08 03:38:08 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.