Skip to content

Conversation

@ryasmi
Copy link
Member

@ryasmi ryasmi commented Jan 18, 2018

No description provided.

Copy link
Contributor

@ht2 ht2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So my main concern is that without a separate secondary connection to the collection, I don't believe we can just set the read preference "on the fly". This issue goes into this:

Automattic/mongoose#2606

In the mongo CLI shell, we have to specify the read preference as part of our initial connection (or as the first thing we ever do) in order for it to "stick"

If you connect as readPrefernce: 'primary' (defaullt) to begin with, then I think thats what it will simply use.

@ht2
Copy link
Contributor

ht2 commented Mar 5, 2018

Needs testing by setting debug flag in mongoose and checking which server the queries are actually hitting!

@ryasmi
Copy link
Member Author

ryasmi commented Mar 5, 2018

Yeah it's on my list.

@ht2 ht2 changed the base branch from master to release/v2.3.0 March 13, 2018 09:37
@ht2 ht2 changed the title feat(aggregation): Reads aggregations from secondary. LL-106 Reads aggregations from secondary. Mar 19, 2018
@ht2
Copy link
Contributor

ht2 commented Mar 19, 2018

Confirmed working on Atlas

@ht2 ht2 merged commit 29a44d8 into release/v2.3.0 Mar 20, 2018
@ht2 ht2 deleted the ll-106 branch March 20, 2018 14:32
ht2 pushed a commit that referenced this pull request Mar 22, 2018
* feat(aggregation): Reads aggregations from secondary. (#1095) * feat(security): Restrict password changing to site admins Also allow users to change their own passwords * perf(webpack): Webpack 3 (#1094) * Webpack 3 * perf: HardSource caching and updated to webpack 3.10 * Added default shareable dashboard. * Added shareable dashboards down migration. * fix: proptypes on shareable dashboards * Add preview button to shareable modellist item * fix: Migration for shareable dashboards * test: Increase timeout time in API test * Update http-test.js * test: Add timeout to test
ht2 pushed a commit that referenced this pull request Mar 22, 2018
* Started adding multiple links for shareable dashboards. * Nested dashboard filters. * Start of the sharable dashboards accordion. * Changed shareable dashboards to a accordion list. * Added delete button to shareable dashboards. * Dashboard shareable link now shows url. * Moved dashboard accordion state to redux * Dashboard page now updates with the expanded accordion dashboard. * Fixed linting errors, removed unused code. * Linting errors. * Linting error. * Fixed tests. * Fixed tests. * Shareable dashboards now authenticate the filter correctly. * Fixed tests. * Fixed shareable dashboard not working with a filter. * Fixed ModelList not working correctly. * Added spinner if dashboard hasn't loaded. * Added organisation to authInfo for dashboards. * fix: Ensure default payoad on token * Added default shareable dashboard. (#1123) * feat(aggregation): Reads aggregations from secondary. (#1095) * feat(security): Restrict password changing to site admins Also allow users to change their own passwords * perf(webpack): Webpack 3 (#1094) * Webpack 3 * perf: HardSource caching and updated to webpack 3.10 * Added default shareable dashboard. * Added shareable dashboards down migration. * fix: proptypes on shareable dashboards * Add preview button to shareable modellist item * fix: Migration for shareable dashboards * test: Increase timeout time in API test * Update http-test.js * test: Add timeout to test * Update index.js * Update index.js
@ht2 ht2 added this to the v2.3.0 milestone Apr 18, 2018
ht2 added a commit that referenced this pull request Apr 18, 2018
### Added - Multiple shareable links per dashboard (#1096) - Requires migration to be run - `yarn migrate` - Aggregations now can read from secondary members on replica set (#1095) - Sentinel Redis support (#1119) - New role to allow organisation creation (via site admin) (#1110) - Widgets now auto pick visualisation name when populated (#1126) ### Security - Passwords can only be changed for the user logged in or by site admins (#1112) ### Fixes - Unicode data now pulled from dependency (#1125) - Ensure order on personaIdentifier IFI values (fixes issue with multiple personaIdents for the same actor) (#1120) - Fix for personaIdentifier migration - Client can select more than 10 xAPI stores (#1130) - Server side validation of Statement Forward queries (#1138) - Statement forwards decode `&46;` in statement keys (#1134) - Fixed issue with hanging file imports on persona data (#1141) - Switch to `clamdscan` as primary AV scanner (#1141) - Requires updated .env settings - refer to .env.example ### Performance and build - Webpack 3 - improved build speed (#1094) ### Migrations **This update requires a migration which can be run using `yarn migrate`.**
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants