Skip to content

Upgraded from working version 1.1.0 to 2.0.2 and no longer receiving 'update' messages #46

@jbockerstette

Description

@jbockerstette

I upgraded from 1.1.0 to 2.0.2 and my working code no longer received callbacks for 'update' messages. The code works fine when using 1.1.0 but does not work in version 2.0.2. I verified that I can connect to mongo and tail without error in version 2.0.2. However, I no longer received any callbacks for changes to my collections. I followed your upgrade procedure and nothing is crashing, but I no longer get any updates.
I rolled back to 1.1.0 and now everything works again. I use a filter so that I can get updates for only the collection I want like so:

var tagsFilter = oplog.filter('*.tags');
tagsFilter.on('update', callback);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions