Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • Sign in / Register
Minds Backend - Engine
Minds Backend - Engine
  • Project overview
  • Repository
  • Issues 298
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 38
  • CI / CD
  • Security & Compliance
  • Packages
  • Wiki
  • Snippets
  • Members
  • Collapse sidebar
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Minds
  • Minds Backend - EngineMinds Backend - Engine
  • Issues
  • #1080

Closed
Open
Opened 2 weeks ago by Guy Thouret@gthouret
Report abuse New issue

Remove references to Mongo from Boost

We're using ES for view metrics, AFAIK the Mongo datastore was abandoned.

Edited 2 weeks ago by Guy Thouret

Related issues
0

  • Discussion 3
  • Designs 0
  • Guy Thouret @gthouret added Sprint::10/23 - Quiet Quail scoped label 2 weeks ago

    added scoped label

  • Guy Thouret @gthouret assigned to @gthouret 2 weeks ago

    assigned to @gthouret

  • Guy Thouret @gthouret changed weight to 1 2 weeks ago

    changed weight to 1

  • Guy Thouret @gthouret added Type::Chore scoped label 2 weeks ago

    added scoped label

  • Guy Thouret @gthouret added Status::Backlog scoped label 2 weeks ago

    added scoped label

  • Guy Thouret @gthouret added Squad::Blue scoped label 2 weeks ago

    added scoped label

  • Guy Thouret @gthouret changed the description 2 weeks ago

    changed the description

  • Mark Harding @markeharding added Sprint::11/06 - Rolling Rabbit scoped label and automatically removed Sprint::10/23 - Quiet Quail label 1 week ago

    added scoped label and automatically removed label

  • Mark Harding @markeharding changed time estimate to 2h 1 week ago

    changed time estimate to 2h

  • Guy Thouret @gthouret added to epic &103 1 week ago

    added to epic &103

  • Guy Thouret @gthouret added Status::InProgress scoped label and automatically removed Status::Backlog label 1 day ago

    added scoped label and automatically removed label

  • Guy Thouret
    Guy Thouret @gthouret · 13 hours ago
    Developer

    I was under the impression all boost analytics had been moved from Mongo to ES.

    If I visit https://goal-boost-campaigns-e24.minds.io/admin/boosts/content it produces the following error :rolling_eyes: :

    2019/11/19 10:43:10 [error] 8#8: *18 FastCGI sent in stderr: "PHP message: Exception #1574160190: MongoDB\Driver\Exception\ConnectionTimeoutException: No suitable servers found (`serverSelectionTryOnce` set): [connection refused calling ismaster on '127.0.0.1:27017'] in /var/www/Minds/engine/vendor/mongodb/mongodb/src/functions.php:431
    Stack trace:
    #0 /var/www/Minds/engine/vendor/mongodb/mongodb/src/functions.php(431): MongoDB\Driver\Manager->selectServer(Object(MongoDB\Driver\ReadPreference))
    #1 /var/www/Minds/engine/vendor/mongodb/mongodb/src/Collection.php(304): MongoDB\select_server(Object(MongoDB\Driver\Manager), Array)
    #2 /var/www/Minds/engine/Core/Data/MongoDB/Client.php(192): MongoDB\Collection->count(Array)
    #3 /var/www/Minds/engine/Core/Boost/Network/Metrics.php(62): Minds\Core\Data\MongoDB\Client->count('boost', Array)
    #4 /var/www/Minds/engine/Controllers/api/v1/admin/boosts/analytics.php(46): Minds\Core\Boost\Network\Metrics->getBacklogCount()
    #5 /var/www/Minds/engine/Api/Factory.php(89): Minds\Controllers\api\v1\admin\boosts\analytics->get(Array)
    #6 /var/www/Minds/engine/Controllers/api/api.php(76): Minds\Api\Factory::build(Array, Object(Zend\Diactoros\ServerRequest), Object(Zend\Diactoros\Response\JsonResponse))
    #7 /var/www/Minds/engine/Core/Router.php(157): Minds\Controllers\api\api->get(Array)
    #8 /var/www/Minds/engine/index.php(9): Minds\Core\Router->route()
    #9 {main}" while reading response header from upstream, client: 192.168.13.110, server: _, request: "GET /api/v1/admin/boosts/analytics/newsfeed HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "goal-boost-campaigns-e24.minds.io", referrer: "https://goal-boost-campaigns-e24.minds.io/admin/boosts"
  • Guy Thouret
    Guy Thouret @gthouret · 10 hours ago
    Developer

    Queried with Mark...

    Mark Harding 1:42 PM We can remove that, we're not displaying the component in the ui since we removed mongo

  • Guy Thouret
    Guy Thouret @gthouret · 10 hours ago
    Developer

    Need to remove the calling component from UI codebase and check if anything else is calling that API before removal.

  • Guy Thouret @gthouret mentioned in commit c12cb0b1 9 hours ago

    mentioned in commit c12cb0b1

  • Guy Thouret @gthouret mentioned in commit 8e82595e 9 hours ago

    mentioned in commit 8e82595e

  • Guy Thouret @gthouret mentioned in commit fd55e22c 9 hours ago

    mentioned in commit fd55e22c

  • Guy Thouret @gthouret mentioned in commit bc8458ed 9 hours ago

    mentioned in commit bc8458ed

  • Guy Thouret @gthouret mentioned in commit ba61ff9c 48 minutes ago

    mentioned in commit ba61ff9c

  • Guy Thouret @gthouret mentioned in commit aa20c486 48 minutes ago

    mentioned in commit aa20c486

  • Guy Thouret @gthouret mentioned in commit a49ddc18 48 minutes ago

    mentioned in commit a49ddc18

  • Guy Thouret @gthouret mentioned in commit 65aace2a 48 minutes ago

    mentioned in commit 65aace2a

  • Guy Thouret @gthouret mentioned in commit cae023e7 48 minutes ago

    mentioned in commit cae023e7

  • Guy Thouret @gthouret mentioned in commit 85139cdb 48 minutes ago

    mentioned in commit 85139cdb

  • Guy Thouret @gthouret mentioned in commit 1d04e616 48 minutes ago

    mentioned in commit 1d04e616

  • Guy Thouret @gthouret mentioned in commit 1916aee3 32 minutes ago

    mentioned in commit 1916aee3

  • Guy Thouret @gthouret mentioned in commit ae843d9a 32 minutes ago

    mentioned in commit ae843d9a

  • Guy Thouret @gthouret mentioned in commit cca55888 32 minutes ago

    mentioned in commit cca55888

  • Guy Thouret @gthouret mentioned in commit dbf0eb01 32 minutes ago

    mentioned in commit dbf0eb01

  • Guy Thouret @gthouret mentioned in commit db49fbe3 32 minutes ago

    mentioned in commit db49fbe3

  • Guy Thouret @gthouret added Status::Review scoped label and automatically removed Status::InProgress label 25 minutes ago

    added scoped label and automatically removed label

  • Guy Thouret @gthouret closed 25 minutes ago

    closed

Please register or sign in to reply
Assignee
Guy Thouret's avatar
Guy Thouret @gthouret
Boost Backend Improvements
Epic
Boost Backend Improvements
None
Milestone
None
Time tracking
Estimated: 2h
None
Due date
None
4
Labels
Sprint::11/06 - Rolling Rabbit Squad::Blue Status::Review Type::Chore
1
Weight
1
Confidentiality
Not confidential
Lock issue
Unlocked
2
2 participants
user avatar
Guy Thouret
user avatar
Mark Harding
Reference: minds/engine#1080