MyCATApache/Mycat-Server

请问配置了读写分离之后,应该使用什么方法能够做到在写数据库中读取数据

Open

#2.926 aberto em 26 de set. de 2022

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)Java (3.886 forks)batch import
help wanted

Métricas do repositório

Stars
 (9.451 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

在项目开发过程中有这样的需求:A服务器写入数据,B服务器需要拿到刚刚写入数据的非主键字段; 因为需要实时返回,所以无法等在主从复制之后查询;目前想到的方法是从写数据库中读取数据,但是技术力不够无法解决这个问题,特来请教大佬

Guia do colaborador