AWS Thinkbox Discussion Forums

modifying the job document in the db

How safe is it to add entries to the props field? I quickly noticed that adding entries to the main document is a sure way to crash the monitor :slight_smile:
But not sure whether the props settings are more forgiving?

Should we just restrain from that, and use the extrainfo value/key?

I definitely wouldn’t add any new fields, as they will likely just get clobbered at some point when something does a full-on Save on that Job.

Modifications to existing fields would be mostly safe, but I still wouldn’t really recommend touching anything in the DB directly since bypassing all of our Deadline logic makes any kind of data cohesiveness expectations that we have go out the window.

The safest thing to do would be to store any custom stuff in a seperate (new) collection if you’re really wanting to save stuff in the DB, or just stick to extra info.

Would be implementing a machine limit adjuster, that would have to store the ‘original’ machine limit somewhere for the given job.

Yeah, I would stick to using ExtraInfo, then. Any added properties to existing objects would be extremely volatile and prone to disappear at anytime.

Privacy | Site terms | Cookie preferences