-
Notifications
You must be signed in to change notification settings - Fork 42
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
fix(deadline): lock down DocDC engine to version 3.6.0 #230
Changes from all commits
25355ae
d1ae157
eb871fe
f9c83eb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -288,6 +288,7 @@ export interface RepositoryProps { | |
|
||
/** | ||
* Specify the database where the deadline schema needs to be initialized. | ||
* Note that Deadline supports only databases that are compatible with MongoDB 3.6. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This looks great. I had also suggested adding something to the TSDoc string of There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah, right. Sure. I can add something there... There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The comment for There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added those too in latest rev. |
||
* | ||
* @default A Document DB Cluster will be created with a single db.r5.large instance. | ||
*/ | ||
|
@@ -490,6 +491,7 @@ export class Repository extends Construct implements IRepository { | |
const instances = props.documentDbInstanceCount ?? Repository.DEFAULT_NUM_DOCDB_INSTANCES; | ||
const dbCluster = new DatabaseCluster(this, 'DocumentDatabase', { | ||
masterUser: {username: 'DocDBUser'}, | ||
engineVersion: '3.6.0', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Two things:
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's a good idea. I'll see what I can cobble together. |
||
instanceProps: { | ||
instanceType: InstanceType.of(InstanceClass.R5, InstanceSize.LARGE), | ||
vpc: props.vpc, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same comment as below. Should we relax this message to
3.6.x
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This still says 3.6.0 but our other messaging and the version check all use 3.6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I discussed this with Josh offline. DocumentDB doesn't do patch-level versions. It will always be 3.6.0