'Returns a list of raw events that generally match the given
processing issue and no longer have any issues remaining.  Returns
a list of raw events that are now resolved and a bool that indicates
if there are more.'

def find_resolved(self, project_id, limit=100):

    from sentry.models import RawEvent
    rv = list(RawEvent.objects.filter(project_id=project_id).annotate(eventissue_count=Count('eventprocessingissue')).filter(eventissue_count=0)[:limit])
    if (len(rv) > limit):
        rv = rv[:limit]
        has_more = True
    else:
        has_more = False
    rv = list(rv)
    RawEvent.objects.bind_nodes(rv, 'data')
    return (rv, has_more)
