[LangGraph] Add to MongoDBStore a test of its automatic migration

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Unknown
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Python Drivers
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      Summary

      INTPYTHON_948 fixed a multikey index collision on namespace array.
      In its implementation, during initialization of a new store, it looks to see if any of the old array indexes exists, coverts them to the new string version, and removes the problematic index. This test is to add a test that ensures that functionality works.

      Who are the stakeholders?

      How does this affect the end user?

      • Existing users. Worst case is that they cannot access their current data.

      Are they blocked? Are they annoyed? Are they confused?

      How likely is it that this problem or use case will occur?

      Very low.

      Main path? Edge case?

      If the problem does occur, what are the consequences and how severe are they?

      Minor annoyance at a log message? Performance concern? Outage/unavailability? Failover can't complete?
      This test will ensure that the problem won't occur. It would be frustrating to me.

      Is this issue urgent?

      Does this ticket have a required timeline? What is it?

      It's not urgent, but should follow closely after https://github.com/langchain-ai/langchain-mongodb/pull/375 is merged.

      Is this ticket required by a downstream team?

      No

      Is this ticket only for tests?

      Yes

            Assignee:
            Casey Clements
            Reporter:
            Casey Clements
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: