MongoClient.listCollectionNames() returns truncated names

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.10.0
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We found an issue with version 3.10.0 and Azure CosmosDB where it returns shortened collection names with first 3 letters removed?

      Testing with version 3.9.1 it appears to work correctly.

      3.10.0 - BUG !!!

      gockChangeLog,
      tCreateCollection,
      metricDEK,
      -DEK,
      gockLock,
      tKey

      3.9.1 - OK

      mongockChangeLog,
       testCreateCollection,
       SymmetricDEK,
       PKI-DEK,
       mongockLock,
       testKey

      Please let me know if there any other information you need or if you could give me a direct where I can concentrate do debug this issue and help resolve it.

      Thank you,
      Dan

      spring.data.mongodb.uri=mongodb://...:...@xxx.documents.azure.com:10255/?ssl=true&replicaSet=globaldb
      
      mongoDB = this.mongoClient.getDatabase(mongodb); var collectionNames = StreamSupport.stream( 
      
      
      mongoDB.listCollectionNames().spliterator(), false) .collect(Collectors.toList()); 
      
      log.debug("mongoClient.listCollectionNames():\n{}", String.join(", ", collectionNames));
      

            Assignee:
            Jeffrey Yemin
            Reporter:
            Dan Dragut
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: