FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    Cockroach Compatibility problem on Connector Signin

    Scheduled Pinned Locked Moved
    Q&A
    0
    7
    6.8k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      michael.schramm
      last edited by michael.schramm

      So far we are using fusionauth with cockroachdb as our database. PW Logins are working.

      Right now the only remaining problem we see is with:

      DELETE
            FROM user_registrations_application_roles USING user_registrations
            WHERE user_registrations_application_roles.user_registrations_id = user_registrations.id AND (...)
            ^
        Hint: You have attempted to use a feature that is not yet implemented.
      See: https://go.crdb.dev/issue-v/40963/v20.2
      

      I cannot see the remainder of the query, but would it be possible to remove the "USING"?

      1 Reply Last reply Reply Quote 0
      • M
        michael.schramm
        last edited by

        Would it be possible to change the Query to something like:

        DELETE FROM 
          user_registrations_application_roles 
        WHERE 
          user_registrations_id IN 
            (
              SELECT 
                user_registrations.id
              FROM
                user_registrations
              WHERE
                user_registrations.id = user_registrations_application_roles.application_roles_id
                (...)
            )
        
        1 Reply Last reply Reply Quote 0
        • joshuaJ
          joshua
          last edited by

          Hi @michael-schramm,

          If you could provide a bit more context to your issue, we could perhaps give a few pointers, but unfortunately, I believe this is outside of our accepted/documented use guidelines. FusionAuth is supported using MySQL and Postgres (documentation here).

          Thanks,
          Josh

          1 Reply Last reply Reply Quote 2
          • danD
            dan
            last edited by

            I would add to what @joshua said that this is definitely outside our supported scope. You definitely get kudos for being adventurous when it comes to pushing the bounds of FusionAuth, though! 🥇 🙂

            What seems like it might be a minor SQL query change could have ramifications across different databases, including performance degradation. I'm sure you understand we'd need to test this change and incorporate it into our ongoing support matrix. Not trivial, unfortunately.

            If this is an absolute requirement, you can definitely contact us about a professional services engagement/enterprise support contract and we could price out making these changes. Our queue is pretty full right now, so it might be a while until we could get to it, but always happy to chat. https://fusionauth.io/contact/

            --
            FusionAuth - Auth for devs, built by devs.
            https://fusionauth.io

            1 Reply Last reply Reply Quote 1
            • M
              michael.schramm
              last edited by

              😄 no worries around it.

              Cockroach itself provides great support to run within kubernetes / running in multiple availability zones with automated sharding. (not the average use case^^)

              whenever it will be fixed on the cockroach side https://github.com/cockroachdb/cockroach/issues/40963?version=v20.2 then I will of course report here if it works.

              So far we are using fusionauth with cockroachdb and this is the only error that has pooped up till now.

              1 Reply Last reply Reply Quote 2
              • joshuaJ
                joshua
                last edited by

                @michael-schramm,

                Perfect! Do let us know if you get it fixed and up and running!

                Thanks,
                Josh

                1 Reply Last reply Reply Quote 0
                • D
                  daniel.lohse
                  last edited by

                  @michael-schramm can I reach you somewhere for a short discussion? Am also thinking about going for CockroachDB and have a couple questions. 😅

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post