Redisson 活动对象的 WRONGTYPE 操作
WRONGTYPE Operation with Redisson Live Objects
我已经将我的 Redisson
库升级到 3.13.2
(从 3.11.1
),从那以后我一执行 [=15= 就不断得到 WRONGTYPE Operation against a key holding the wrong kind of value
].
我有以下 class:
@Getter
@ToString
@Builder
@AllArgsConstructor
@NoArgsConstructor
@REntity
public class ReporterObject {
@RId
private long id;
private long rId;
@RIndex
@Setter
private long sId;
@Setter
private boolean ac;
@RIndex
@Setter
private Long parId;
private int type;
private Long pId;
@Setter
private ReporterObject parent; // can be null
@Setter
private int n_a = 0;
}
那会是什么问题呢?
谢谢
正如@NikitaKoksharov 所说,刷新缓存就可以了。
我已经将我的 Redisson
库升级到 3.13.2
(从 3.11.1
),从那以后我一执行 [=15= 就不断得到 WRONGTYPE Operation against a key holding the wrong kind of value
].
我有以下 class:
@Getter
@ToString
@Builder
@AllArgsConstructor
@NoArgsConstructor
@REntity
public class ReporterObject {
@RId
private long id;
private long rId;
@RIndex
@Setter
private long sId;
@Setter
private boolean ac;
@RIndex
@Setter
private Long parId;
private int type;
private Long pId;
@Setter
private ReporterObject parent; // can be null
@Setter
private int n_a = 0;
}
那会是什么问题呢?
谢谢
正如@NikitaKoksharov 所说,刷新缓存就可以了。