[Bug 271357] databases/mongodb44: 4.4.18 data loss after FreeBSD reboot on 13.1-RELEASE

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 11 May 2023 02:58:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271357

            Bug ID: 271357
           Summary: databases/mongodb44: 4.4.18  data loss after FreeBSD
                    reboot on 13.1-RELEASE
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ronald@FreeBSD.org
          Reporter: 2916869006@qq.com
          Assignee: ronald@FreeBSD.org
             Flags: maintainer-feedback?(ronald@FreeBSD.org)

Mongodb (4.4.18) data loss after freebsd reboot.

I use VMware to run Free BSD. When I configure the image and export it to
someone else for use, some people may find that reboot the image will cause the
mongodb database to be droped.

# mongod.conf

# for documentation of all options, see:
#   http://docs.mongodb.org/manual/reference/configuration-options/

# where to write logging data.
systemLog:
  destination: file
  logAppend: true
  path: /var/db/mongodb/mongod.log 

# Where and how to store data.
storage:
  dbPath: /var/db/mongodb 
  journal:
    enabled: true
#  engine:
#  wiredTiger:

# how the process runs
processManagement:
  fork: true  # fork and run in background
  pidFilePath: /var/db/mongodb/mongod.lock  # location of pidfile
  timeZoneInfo: /usr/share/zoneinfo

# network interfaces
net:
  port: 27017
  bindIp: 127.0.0.1  # Enter 0.0.0.0,:: to bind to all IPv4 and IPv6 addresses
or, alternatively, use the net.bindIpAll setting.


#security:

#operationProfiling:

replication:
  replSetName: rs0

-- 
You are receiving this mail because:
You are the assignee for the bug.