# rpc 错误：code = DataLoss desc = 不可恢复的数据丢失或损坏

- **ID:** `go/grpc-data-loss`
- **领域:** go
- **类别:** system_error
- **验证级别:** ai_generated
- **修复率:** 80%

## 根因

服务器遇到不可恢复的数据丢失或损坏，通常由于磁盘故障或数据库损坏。

## 版本兼容性

| 版本 | 状态 | 引入 | 弃用 |
|------|------|------|------|
| 1.x | active | — | — |

## 解决方案

1. **** (80% 成功率)
   ```
   // Restore the database from the latest backup.
// Check disk health and logs for underlying issues.
   ```
2. **** (90% 成功率)
   ```
   // Use replication and scheduled backups to prevent data loss.
   ```

## 无效尝试

- **** — Retrying will not recover lost data; the error is permanent. (95% 失败率)
- **** — Ignoring data loss can lead to further corruption and system failure. (95% 失败率)
