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

[BUG][1.8.0] Server crashing when using MongoDB #179

Closed
gander opened this issue May 20, 2024 · 2 comments
Closed

[BUG][1.8.0] Server crashing when using MongoDB #179

gander opened this issue May 20, 2024 · 2 comments
Assignees
Labels
bug Something isn't working database [mongo]

Comments

@gander
Copy link

gander commented May 20, 2024

Version: 1.8.0

With MongoDB:

services:
    buggregator:
        image: ghcr.io/buggregator/server:latest
        depends_on:
            buggregator-db:
                condition: service_healthy
        ports:
            - 127.0.0.1:8000:8000
        environment:
            PERSISTENCE_DRIVER: 'mongodb'
            MONGODB_CONNECTION: 'mongodb:https://buggregator-db:27017'
            MONGODB_DATABASE: 'buggregator'

    buggregator-db:
        image: mongo:latest
        healthcheck:
            test: [ "CMD-SHELL", "mongosh --eval 'db.runCommand({ping: 1}).ok' || exit 1" ]
            interval: 3s
            timeout: 3s
            retries: 3
buggregator-1  | handle_serve_command: Function call error:
buggregator-1  |        serve error from the plugin *centrifuge.Plugin stopping execution, error: static_pool_allocate_workers: WorkerAllocate: EOF
buggregator-1 exited with code 1

Without DB:

services:
    buggregator:
        image: ghcr.io/buggregator/server:latest
        ports:
            - 127.0.0.1:8000:8000
buggregator-1  | 2024-05-20T08:38:41+0000       ERROR   app             Unable to declare consumer pipeline "memory". Reason: Error 'rpc_declare_pipeline: pipeline already exists, name: local, driver: memory' on tcp:https://127.0.0.1:6001 [] []
buggregator-1  | 
buggregator-1  | 2024-05-20T08:38:41+0000       ERROR   app             Unable to declare consumer pipeline "memory". Reason: Error 'rpc_declare_pipeline: pipeline already exists, name: local, driver: memory' on tcp:https://127.0.0.1:6001 [] []
buggregator-1  | 
buggregator-1  | 2024-05-20T08:38:41+0000       ERROR   app             Unable to declare consumer pipeline "memory". Reason: Error 'rpc_declare_pipeline: pipeline already exists, name: local, driver: memory' on tcp:https://127.0.0.1:6001 [] []
buggregator-1  | 
buggregator-1  | 2024-05-20T08:38:41+0000       ERROR   app             Unable to declare consumer pipeline "memory". Reason: Error 'rpc_declare_pipeline: pipeline already exists, name: local, driver: memory' on tcp:https://127.0.0.1:6001 [] []
buggregator-1  | 
buggregator-1  | [INFO] RoadRunner server started; version: 2023.3.7, buildtime: 2023-11-30T19:15:58+0000
buggregator-1  | [INFO] sdnotify: not notified
@butschster butschster self-assigned this May 20, 2024
@butschster butschster added bug Something isn't working database [mongo] labels May 20, 2024
@butschster
Copy link
Member

We will be dropping MongoDB support for Buggregator. This decision wasn't easy, but it will allow us to add more exciting features, like grouping similar events for Sentry and XHProf. MongoDB requires a different approach compared to SQL databases, and supporting all databases while adding new features would be too challenging. Thank you for your understanding.

@gander
Copy link
Author

gander commented May 20, 2024

I see. Then there is no bug. I'm closing.

@gander gander closed this as completed May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working database [mongo]
Projects
None yet
Development

No branches or pull requests

2 participants