× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
rkshakya reported 2013-06-07T09:55:12Z  · last modified 2013-06-17T08:39:32Z

problem with CREATE DATABASE... on a replicated setup


Priority Major
Complexity Unknown
Component MongoSQL
Version 14.0

Encountered on ADS 14-beta-14.

Create Database operation (both via (1) command from Query Analyzer and (2) 'Create Database' option on 'Databases' node on ADS) fails saying (Pls refer to attached screenshot create_database.png)

>[Error] Script lines: 1-2 --------------------------
Failed to create the 'destdb' database: not talking to master and retries used up 

Following are the tentative steps to reproduce the issue:

1) Have a 3 member authenticated replica set up and running throughout. (e.g. rs_status.png).

2) Make sure the authenticated user has enough privs to create database. (e.g. pls refer to user_privs.png)

3) Run following type of query on the Query Analyzer:

create database destdb collection tut
go

Expected outcome:

a) The database should have been created with a specified collection.

Actual outcome:

a) The error message as mentioned above is displayed even though the replica set(and hence the primary member) is running.

b) Upon repeated execution of the same command, the database is created at random and message of screenshot 'db_already_exists.png' is displayed.

c) However upon refreshing the Databases list on ADS, the database 'destdb' is not listed there.

6 attachments

Issue #9290

Closed
Fixed
Resolved 2013-06-10T07:51:45Z
 
 
Completion
No due date
Fixed Build ADS 14.0.0-beta-22 (mongo-jdbc 1.2.0)
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017