[MB-7171] disable sample loaded in mixed mode (was: sample loader fails when run on a cluster where not all nodes are 2.0) Created: 13/Nov/12  Updated: 12/Sep/13  Resolved: 26/Jul/13

Status: Closed
Project: Couchbase Server
Component/s: tools, UI
Affects Version/s: 2.0
Fix Version/s: 2.2.0
Security Level: Public

Type: Bug Priority: Major
Reporter: Farshid Ghods (Inactive) Assignee: Shashank Gupta
Resolution: Fixed Votes: 0
Labels: 2.0-release-notes
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

tool can detect whether all nodes in the cluster are capable of view creation based on compatibility version advertised by ns-server and fail with proper error
or ns-server can hide this tab from settings unless all nodes are in 2.0

or each sample dataset can have a mnifest file which describes what server functionality it expects and then ns-server will allow uploading those docs which are compatible with server version

Comment by Aleksey Kondratenko [ 20/Jun/13 ]
alternatively given 1.8.x is closed to thing-of-the-past we can just continue ignoring and bug will automagically "expire" -- become irrelevant.
Comment by Artem Stemkovski [ 16/Jul/13 ]
we decided not to over complicate sample loading code just for solving the backward compatibility issue. so I'll just hide the sample loading tab if the server is in mixed mode
Comment by Artem Stemkovski [ 26/Jul/13 ]
fix commited to 2.2.0: MB-7171 made sure that Sample Buckets tab is hidden in mixed mode
Comment by Shashank Gupta [ 12/Sep/13 ]
Verified. Build used - 2.2.0-821-rel
Generated at Thu Dec 18 03:40:49 CST 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.