why does mongodb secondary drop all database when start up ?
Thu Mar 20 12:41:51.775 [rsSync] clone offerStore_shopverwaltung_dev.offer 5990143 Thu Mar 20 12:41:51.807 [conn82] auth: couldn't find user mms@admin, admin.system.users Thu Mar 20 12:41:51.807 [conn83] auth: couldn't find user mms@admin, admin.system.users Thu Mar 20 12:41:51.818 [conn80] end connection 172.16.64.36:59671 (18 connections now open) Thu Mar 20 12:41:51.818 [conn79] end connection 172.16.64.36:59670 (17 connections now open) Thu Mar 20 12:41:53.630 [conn86] end connection 172.17.64.59:56518 (16 connections now open) Thu Mar 20 12:41:53.630 [initandlisten] connection accepted from 172.17.64.59:56520 #87 (18 connections now open) Thu Mar 20 12:41:53.752 [rsHealthPoll] replset info b32:27018 thinks that we are down Thu Mar 20 12:41:54.347 [conn87] authenticate db: local { authenticate: 1, nonce: "85ce9c285d8821c0", user: "__system", key: "596f5de6b350d845da505267ddb67f5c" } Thu Mar 20 12:41:54.481 [rsSync] Socket flush send() errno:9 Bad file descriptor 172.17.64.59:27018 Thu Mar 20 12:41:54.481 [rsSync] caught exception (socket exception [SEND_ERROR] for 172.17.64.59:27018) in destructor (~PiggyBackData) Thu Mar 20 12:41:54.481 [rsSync] replSet initial sync exception: 16465 recv failed while exhausting cursor 9 attempts remaining Thu Mar 20 12:42:00.351 [conn87] replSet RECOVERING Thu Mar 20 12:42:00.351 [conn87] replSet info voting yea for b32:27018 (0) Thu Mar 20 12:42:01.759 [conn77] end connection 127.0.0.1:42507 (16 connections now open) Thu Mar 20 12:42:01.759 [initandlisten] connection accepted from 127.0.0.1:42515 #88 (17 connections now open) Thu Mar 20 12:42:02.349 [rsHealthPoll] replSet member b32:27018 is now in state PRIMARY Thu Mar 20 12:42:18.858 [initandlisten] connection accepted from 172.16.64.36:33932 #89 (18 connections now open) Thu Mar 20 12:42:18.858 [initandlisten] connection accepted from 172.16.64.36:33933 #90 (19 connections now open) Thu Mar 20 12:42:18.880 [conn89] authenticate db: admin { authenticate: 1, nonce: "7cd22915b5deb491", user: "mms", key: "35759fc233397c775562f730ac13d424" } Thu Mar 20 12:42:18.880 [conn89] auth: couldn't find user mms@admin, admin.system.users Thu Mar 20 12:42:18.880 [conn90] authenticate db: admin { authenticate: 1, nonce: "3173617992cad84a", user: "mms", key: "3c57caff985161dff987ef5d78e25a0f" } Thu Mar 20 12:42:18.881 [conn90] auth: couldn't find user mms@admin, admin.system.users Thu Mar 20 12:42:18.891 [conn82] end connection 172.16.64.36:60738 (18 connections now open) Thu Mar 20 12:42:18.892 [conn83] end connection 172.16.64.36:60739 (17 connections now open) Thu Mar 20 12:42:20.355 [conn87] end connection 172.17.64.59:56520 (16 connections now open) Thu Mar 20 12:42:20.356 [initandlisten] connection accepted from 172.17.64.59:56529 #91 (17 connections now open) Thu Mar 20 12:42:20.356 [conn91] authenticate db: local { authenticate: 1, nonce: "3bb64e864d2ffcc8", user: "__system", key: "ee20eb67dab81bfe1f9ca9a7a7b68e1e" } Thu Mar 20 12:42:24.481 [rsSync] replSet initial sync pending Thu Mar 20 12:42:24.481 [rsSync] replSet syncing to: b32:27018 Thu Mar 20 12:42:24.484 [rsSync] replSet initial sync drop all databases Thu Mar 20 12:42:24.484 [rsSync] dropAllDatabasesExceptLocal 7 Thu Mar 20 12:42:24.521 [rsSync] removeJournalFiles Thu Mar 20 12:42:24.565 [rsSync] removeJournalFiles Thu Mar 20 12:42:27.108 [rsSync] removeJournalFiles Thu Mar 20 12:42:27.573 [rsSync] removeJournalFiles Thu Mar 20 12:42:27.793 [rsSync] removeJournalFiles Thu Mar 20 12:42:27.858 [rsSync] removeJournalFiles Thu Mar 20 12:42:27.986 [rsSync] replSet initial sync clone all databases Thu Mar 20 12:42:27.990 [rsSync] replSet initial sync cloning db: offerStore_offermanager_dev1
For more options, visit https://groups.google.com/d/optout.