[COMPASS-3722] Index creation flaky Created: 24/Jun/19  Updated: 27/Oct/23  Resolved: 04/Mar/20

Status: Closed
Project: Compass
Component/s: Indexes
Affects Version/s: None
Fix Version/s: 1.20.5

Type: Bug Priority: Major - P3
Reporter: Massimiliano Marcon Assignee: Durran Jordan
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2019-07-29-17-32-58-735.png     PNG File screenshot-1.png    
Sprint: Iteration Ragamuffin, Iteration Snake, Iteration Xerus, Iteration Yak

 Description   

During the keynote at MDBW, we had an issue during the creation of a wildcard index: https://youtu.be/SODvhxJnAcI?t=3003

Here is how I could reproduce it twice and then never again:

Compass 1.19:

  • compass-data-sets, sample_airbnb. listingsAndReviews
  • Create index named "wildcard", index definition [$**] - [1 (asc)]
  • Click "Create index"
  • shows error in the screenshots.

Then Compass master:

  • delete "wildcard" on sample_airbnb. listingsAndReviews
  • Create index named "wildcard", index definition [$**] - [1 (asc)]
  • Click "Create index"
  • shows timeout error

In both cases the index is created.

Note that this is not specific to wildcard indexes: other users had errors with regular indexes too.



 Comments   
Comment by Asya Kamsky [ 04/Nov/19 ]

The driver should know what server version it’s talking to, right?

Comment by Asya Kamsky [ 03/Jul/19 ]

I wonder if it’s some spurious thing that Compass is sending. Note that the error was something about system.indexes which hadn’t been a thing in the server for a while. Also the index was successfully created both times so ... could some extra something be sent after the index was created?

Generated at Wed Feb 07 22:34:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.