Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

collection read_qc_analysis_activity_set is empty #348

Closed
aclum opened this issue Nov 2, 2023 · 4 comments
Closed

collection read_qc_analysis_activity_set is empty #348

aclum opened this issue Nov 2, 2023 · 4 comments
Assignees

Comments

@aclum
Copy link
Contributor

aclum commented Nov 2, 2023

This collection should be populated in mongo prod with ~4000 records, it was correctly populated earlier in the week. Note that collection read_QC_analysis_activity_set IS expected to be empty. read_qc_analysis_activity_set (lower case qc) is defined in the schema and should be populated. Please look into what happened and if needed restore from a mongo backup.

@eecavanna @shreddd @Michal-Babins @turbomam @dwinston @ssarrafan

This is a high priority issue.

FYI @naglepuff @marySalvi

@dwinston
Copy link
Collaborator

dwinston commented Nov 2, 2023

I see a drop_collection command in the oplog after the last backup, which dropped 2923 records, not ~4000. @eecavanna does the latest backup have ~4000 records or more like ~1000?

# db.getCollection("oplog.rs").find({"ns": "nmdc.$cmd", "op": "c", "o.drop": "read_qc_analysis_activity_set", "wall": {"$gt": ISODate("2023-11-01T13:00:00-0700")}})

{
    "op" : "c",
    "ns" : "nmdc.$cmd",
    "ui" : UUID("f901047e-6d80-40d6-ba46-ee36aaef4c50"),
    "o" : {
        "drop" : "read_qc_analysis_activity_set"
    },
    "o2" : {
        "numRecords" : 2923
    },
    "ts" : Timestamp({ t: 1698937887, i: 1625 }),
    "t" : Long("18"),
    "v" : Long("2"),
    "wall" : ISODate("2023-11-02T15:11:27.179+0000")
}

@aclum
Copy link
Contributor Author

aclum commented Nov 2, 2023

@dwinston 2923 records is probably the right number, its should about the same as the metagenome_assembly_set collection which is a downstream task and that has 2807 records.

@eecavanna
Copy link
Collaborator

I'm working on the restore step now (to a temporary database) and will let you know once I know.

@dwinston
Copy link
Collaborator

dwinston commented Nov 2, 2023

completed targeted restore of the collection only. as yet unknown how this happened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

4 participants