PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Wednesday the 11th of December, 2019

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[00:26:06] <GothAlice> blizzow: There are numerous protocol-level (BSON wire protocol) changes that may be incompatible, including (between those rather disparate ones) a fundamental change to find query operation and getMore use, if I recall correctly.
[00:26:30] <GothAlice> There is no possible level of reasonability towards expectations of compatibility between major versions of any two versions of a given product, 95% of the time.
[00:28:39] <GothAlice> (Even minor versions can have surprisingly vast changes. E.g. a memory dump of a Python 2.4 process can't be loaded as a runtime state for 2.5 because the definition of what a "textual string" is changed. (UCS4 was found insufficient… I could reliably crash the interpreter with a sufficiently large regular expression. ;)
[00:31:05] <GothAlice> Actually… I have a sneaking feeling the getMore change is what you're hitting.
[00:34:57] <blizzow> Meh, I just ran mongodump from a host using 3.6. It's just a total pain in the tuckus to try and keep my local box up to date and then run into this problem when I have to connect to a legacy system.
[00:37:22] <GothAlice> That's why I use "potable" (statically linked) pinned versions of the toolset. /usr/local/mongodb/<version>/bin/<tool> — I can pick which version is "active" for a given shell session by executing: path+=/usr/local/mongodb/<version>/bin. Start a new shell session to clear it, or just re-execute the shell's .rc file(s).
[00:37:55] <GothAlice> (That path addition is a ZSH array manipulation feature. Under BASH it's more… text-y: export PATH="$PATH:/usr/local/…"
[00:37:57] <GothAlice> )
[00:40:13] <GothAlice> I've got every major.minor version going back to… 2.0. :D
[00:58:44] <blizzow> For someone who touches mongo everyday, I can see that being something alright. At some point, you expect the software to do some of the work for you. I don't keep every gtk2 release ever so I can run gimp. I kind of expect gimp to run with gtk.
[00:59:14] <blizzow> Maybe it's a bad analogy. But I think you get the point.
[18:28:30] <john_89> Hello, I am using docker in combination with rocketchat. The problem is when I run the container I get this error:not master and slaveOk=falseI tried to solve the issue with rs.slaveOk() command in the mongo shell, but I get the same error. So now I am trying to add the master with --master option here (because it says not master in the
[18:28:31] <john_89> error):rocketchat-mongo mongod --master --replSet rocketchat-repl-setBut the problem is, now the --master is not longer supported. What can I do if the rs.slaveOk() command from stackoverflow does not work?
[18:44:35] <john_89> anyone here?
[18:56:59] <john_89> ok I will come back tommorow with the same question