You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cluster with missing servers fails on import #4617
changed the title [-]Cluster with missing servers doesn't report metadata correctly[/-][+]Cluster with missing servers fails on import[/+]on Aug 3, 2015
I was trying to import data into my RethinkDB cluster, and got an error:
$ rethinkdb import -d git/rethinker-dashboard/rethinkdb_export_2015-08-02T23\:18\:30/
Error: Incompatible server version found, expected >= 1.16.0
After checking that my server and Python driver versions were up to date, I started investigating with @AtnNn. I checked the version with Python reported in the server_status system table:
After being very confused as to why my server version was being reported as None, I realized that I'd left a demo cluster in a bad state. One of my servers had been disconnected, and I hadn't permanently removed it. The import script was looking for the first server in the system table, which happened to be the missing server, so the import script failed the version check (since it was None).
Permanently removing the server fixed the issue. My thoughts:
The import script should either refuse to import data if the cluster is in a bad state, return an error if there is a missing server, or keep looking for servers in the list until it finds one that reports a version other than None.
It would be supremely useful if there was a ReQL command for finding the specific server the driver is connected to via ReQL (which we had at one point with ajax/me, some discussion in Cluster with missing servers fails on import #4617). I'll open an issue for this separately.
Actually never mind. This can't happen in 2.1 anymore.
Putting this into backlog. We should change the code eventually when we have #3934, in case we want to support mixed-version clusters in the future.
@srh as far as I remember mixed clusters are not supported. Can we close this issue? (If this is not supported for more than 5 years I believe it will be not introduced in the near future)
Activity
[-]Cluster with missing servers doesn't report metadata correctly[/-][+]Cluster with missing servers fails on import[/+]mglukhovsky commentedon Aug 3, 2015
Changed title to "Cluster with missing servers fails on import" (for email readers).
mglukhovsky commentedon Aug 3, 2015
I was trying to import data into my RethinkDB cluster, and got an error:
After checking that my server and Python driver versions were up to date, I started investigating with @AtnNn. I checked the version with Python reported in the
server_statussystem table:After being very confused as to why my server version was being reported as
None, I realized that I'd left a demo cluster in a bad state. One of my servers had been disconnected, and I hadn't permanently removed it. The import script was looking for the first server in the system table, which happened to be the missing server, so the import script failed the version check (since it wasNone).Permanently removing the server fixed the issue. My thoughts:
None.ajax/me, some discussion in Cluster with missing servers fails on import #4617). I'll open an issue for this separately.danielmewes commentedon Aug 3, 2015
I think we should fix this in 2.1 by adding a filter to the
server_statusquery.Then later when we have #3934 we can do a second pass on this.
danielmewes commentedon Aug 8, 2015
Actually never mind. This can't happen in 2.1 anymore.
Putting this into
backlog. We should change the code eventually when we have #3934, in case we want to support mixed-version clusters in the future.gabor-boros commentedon Feb 15, 2020
@srh as far as I remember mixed clusters are not supported. Can we close this issue? (If this is not supported for more than 5 years I believe it will be not introduced in the near future)
srh commentedon Feb 15, 2020
Yeah, you'll want to keep mixed-version clusters out of scope.