clog.cpp 16.5 KB
Newer Older
羽飞's avatar
羽飞 已提交
1
/* Copyright (c) 2021-2022 OceanBase and/or its affiliates. All rights reserved.
羽飞's avatar
羽飞 已提交
2 3 4 5 6 7 8 9 10 11 12 13 14
miniob is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
         http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details. */

//
// Created by huhaosheng.hhs on 2022
//

15 16 17
#include <sstream>
#include <vector>

羽飞's avatar
羽飞 已提交
18
#include "common/log/log.h"
19
#include "storage/clog/clog.h"
羽飞's avatar
羽飞 已提交
20
#include "common/global_context.h"
21 22 23 24 25
#include "storage/trx/trx.h"
#include "common/io/io.h"

using namespace std;
using namespace common;
羽飞's avatar
羽飞 已提交
26

27 28 29
/**
 * @brief 当前的日志使用固定的文件名,而且就这一个文件
 */
羽飞's avatar
羽飞 已提交
30 31
const char *CLOG_FILE_NAME = "clog";

32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
const char *clog_type_name(CLogType type)
{
  #define DEFINE_CLOG_TYPE(name)  case CLogType::name: return #name;
  switch (type) {
    DEFINE_CLOG_TYPE_ENUM;
    default: return "unknown clog type";
  }
  #undef DEFINE_CLOG_TYPE
}

int32_t clog_type_to_integer(CLogType type)
{
  return static_cast<int32_t>(type);
}
CLogType clog_type_from_integer(int32_t value)
{
  return static_cast<CLogType>(value);
}

////////////////////////////////////////////////////////////////////////////////

string CLogRecordHeader::to_string() const
{
  stringstream ss;
  ss << "lsn:" << lsn_
     << ", trx_id:" << trx_id_
     << ", type:" << clog_type_name(clog_type_from_integer(type_)) << "(" << type_ << ")"
     << ", len:" << logrec_len_;
  return ss.str();
}

////////////////////////////////////////////////////////////////////////////////

string CLogRecordCommitData::to_string() const
{
  stringstream ss;
  ss << "commit_xid:" << commit_xid_;
  return ss.str();
}

////////////////////////////////////////////////////////////////////////////////

const int32_t CLogRecordData::HEADER_SIZE = sizeof(CLogRecordData) - sizeof(CLogRecordData::data_);

CLogRecordData::~CLogRecordData()
{
  if (data_ == nullptr) {
    delete[] data_;
  }
}
string CLogRecordData::to_string() const
{
  stringstream ss;
  ss << "table_id:" << table_id_ << ", rid:{" << rid_.to_string() << "}"
     << ", len:" << data_len_ << ", offset:" << data_offset_;
  return ss.str();
}

////////////////////////////////////////////////////////////////////////////////

羽飞's avatar
羽飞 已提交
92 93 94 95 96
int _align8(int size)
{
  return size / 8 * 8 + ((size % 8 == 0) ? 0 : 8);
}

97
CLogRecord *CLogRecord::build_mtr_record(CLogType type, int32_t trx_id)
羽飞's avatar
羽飞 已提交
98
{
99 100 101 102 103
  CLogRecord *log_record = new CLogRecord();
  CLogRecordHeader &header = log_record->header_;
  header.trx_id_ = trx_id;
  header.type_   = clog_type_to_integer(type);
  return log_record;
羽飞's avatar
羽飞 已提交
104 105
}

106
CLogRecord *CLogRecord::build_commit_record(int32_t trx_id, int32_t commit_xid)
羽飞's avatar
羽飞 已提交
107
{
108 109 110 111 112 113 114 115 116
  CLogRecord *log_record = new CLogRecord();
  CLogRecordHeader &header = log_record->header_;
  header.type_ = clog_type_to_integer(CLogType::MTR_COMMIT);
  header.trx_id_ = trx_id;
  header.logrec_len_ = sizeof(CLogRecordCommitData);
  
  CLogRecordCommitData &commit_record = log_record->commit_record();
  commit_record.commit_xid_ = commit_xid;
  return log_record;
羽飞's avatar
羽飞 已提交
117 118
}

119 120 121 122 123 124 125
CLogRecord *CLogRecord::build_data_record(CLogType type, 
                                          int32_t trx_id, 
                                          int32_t table_id, 
                                          const RID &rid, 
                                          int32_t data_len, 
                                          int32_t data_offset, 
                                          const char *data)
羽飞's avatar
羽飞 已提交
126
{
127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147
  CLogRecord *log_record = new CLogRecord();
  CLogRecordHeader &header = log_record->header_;
  header.trx_id_ = trx_id;
  header.type_   = clog_type_to_integer(type);
  header.logrec_len_ = CLogRecordData::HEADER_SIZE + data_len;

  CLogRecordData &data_record = log_record->data_record();
  data_record.table_id_    = table_id;
  data_record.rid_         = rid;
  data_record.data_len_    = data_len;
  data_record.data_offset_ = data_offset;

  if (data_len > 0) {
    data_record.data_ = new char[data_len];
    if (nullptr == data_record.data_) {
      delete log_record;
      LOG_WARN("failed to allocate memory while creating clog record. memory size=%d", data_len);
      return nullptr;
    }

    memcpy(data_record.data_, data, data_len);
羽飞's avatar
羽飞 已提交
148
  }
149
  return log_record;
羽飞's avatar
羽飞 已提交
150 151
}

152
CLogRecord *CLogRecord::build(const CLogRecordHeader &header, char *data)
羽飞's avatar
羽飞 已提交
153
{
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168
  CLogRecord *log_record = new CLogRecord();
  log_record->header_    = header;

  if (header.logrec_len_ <= 0) {
    return log_record;
  }

  if (header.type_ == clog_type_to_integer(CLogType::MTR_COMMIT)) {
    ASSERT(header.logrec_len_ == sizeof(CLogRecordCommitData), "invalid length of mtr commit. expect %d, got %d",
           sizeof(CLogRecordCommitData), header.logrec_len_);
    
    CLogRecordCommitData &commit_record = log_record->commit_record();
    memcpy(reinterpret_cast<void *>(&commit_record), data, sizeof(CLogRecordCommitData));

    LOG_DEBUG("got an commit record %s", log_record->to_string().c_str());
羽飞's avatar
羽飞 已提交
169
  } else {
170 171 172 173 174 175 176
    /// 当前日志拥有数据,但是不是COMMIT,就认为是普通的修改数据的日志,简单粗暴
    CLogRecordData &data_record = log_record->data_record();
    memcpy(reinterpret_cast<void *>(&data_record), data, CLogRecordData::HEADER_SIZE);
    if (header.logrec_len_ > CLogRecordData::HEADER_SIZE) {
      int data_len      = header.logrec_len_ - CLogRecordData::HEADER_SIZE;
      data_record.data_ = new char[data_len];
      memcpy(data_record.data_, data + CLogRecordData::HEADER_SIZE, data_len);
羽飞's avatar
羽飞 已提交
177 178
    }
  }
179
  return log_record;
羽飞's avatar
羽飞 已提交
180 181
}

182 183 184 185 186 187 188 189 190 191 192 193
CLogRecord::~CLogRecord()
{
}

string CLogRecord::to_string() const
{
  if (header_.logrec_len_ <= 0) {
    return header_.to_string();
  } else if (header_.type_ == clog_type_to_integer(CLogType::MTR_COMMIT)) {
    return header_.to_string() + ", " + commit_record().to_string();
  } else {
    return header_.to_string() + ", " + data_record().to_string();
羽飞's avatar
羽飞 已提交
194 195 196
  }
}

197 198 199
////////////////////////////////////////////////////////////////////////////////
static const int CLOG_BUFFER_SIZE = 4 * 1024 * 1024;

羽飞's avatar
羽飞 已提交
200 201 202 203 204 205 206
CLogBuffer::CLogBuffer()
{
}

CLogBuffer::~CLogBuffer()
{}

207
RC CLogBuffer::append_log_record(CLogRecord *log_record)
羽飞's avatar
羽飞 已提交
208
{
209 210
  if (nullptr == log_record) {
    return RC::INVALID_ARGUMENT;
羽飞's avatar
羽飞 已提交
211
  }
212 213 214

  /// total_size_ 的计算没有考虑日志头
  if (total_size_ + log_record->logrec_len() >= CLOG_BUFFER_SIZE) {
羽飞's avatar
羽飞 已提交
215 216
    return RC::LOGBUF_FULL;
  }
217 218 219 220 221 222 223 224 225 226

  lock_guard<Mutex> lock_guard(lock_);
  log_records_.emplace_back(log_record);
  total_size_ += log_record->logrec_len();
  LOG_DEBUG("append log. log_record={%s}", log_record->to_string().c_str());
  return RC::SUCCESS;
}

RC CLogBuffer::flush_buffer(CLogFile &log_file)
{
羽飞's avatar
羽飞 已提交
227
  RC rc = RC::SUCCESS;
228 229 230 231 232 233 234 235 236 237
  int count = 0;
  while (!log_records_.empty()) {
    lock_.lock();
    if (log_records_.empty()) {
      lock_.unlock();
      return RC::SUCCESS;
    }

    // log buffer 需要支持并发,所以要考虑加锁
    // 从队列中取出日志记录然后写入到文件中
羽飞's avatar
羽飞 已提交
238
    unique_ptr<CLogRecord> log_record = std::move(log_records_.front());
239 240 241 242 243 244 245 246 247 248
    log_records_.pop_front();

    rc = write_log_record(log_file, log_record.get());
    // 当前无法处理日志写不完整的情况,所以直接粗暴退出
    ASSERT(rc == RC::SUCCESS, "failed to write log record. log_record=%s, rc=%s",
           log_record->to_string().c_str(), strrc(rc));

    lock_.unlock();
    total_size_ -= log_record->logrec_len();
    count++;
羽飞's avatar
羽飞 已提交
249
  }
250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280

  LOG_WARN("flush log buffer done. write log record number=%d", count);
  return log_file.sync();
}

RC CLogBuffer::write_log_record(CLogFile &log_file, CLogRecord *log_record)
{
  // TODO 看起来每种类型的日志自己实现 serialize 接口更好一点
  const CLogRecordHeader &header = log_record->header();
  RC rc = log_file.write(reinterpret_cast<const char *>(&header), sizeof(header));
  if (rc != RC::SUCCESS) {
    LOG_WARN("failed to write log record header. size=%d, rc=%s", sizeof(header), strrc(rc));
    return rc;
  }

  switch (log_record->log_type()) {
    case CLogType::MTR_BEGIN:
    case CLogType::MTR_ROLLBACK: {
      // do nothing
    } break;

    case CLogType::MTR_COMMIT: {
      rc = log_file.write(reinterpret_cast<const char *>(&log_record->commit_record()), 
                          log_record->header().logrec_len_);
    } break;

    default: {
      rc = log_file.write(reinterpret_cast<const char *>(&log_record->data_record()), CLogRecordData::HEADER_SIZE);
      if (OB_FAIL(rc)) {
        LOG_WARN("failed to write data record header. size=%d, rc=%s", CLogRecordData::HEADER_SIZE, strrc(rc));
        return rc;
羽飞's avatar
羽飞 已提交
281
      }
282 283 284 285 286

      rc = log_file.write(log_record->data_record().data_, log_record->data_record().data_len_);
      if (OB_FAIL(rc)) {
        LOG_WARN("failed to write log data. size=%d, rc=%s", log_record->data_record().data_len_, strrc(rc));
        return rc;
羽飞's avatar
羽飞 已提交
287
      }
288
    } break;
羽飞's avatar
羽飞 已提交
289
  }
290

羽飞's avatar
羽飞 已提交
291 292 293
  return rc;
}

294 295 296
////////////////////////////////////////////////////////////////////////////////

RC CLogFile::init(const char *path)
羽飞's avatar
羽飞 已提交
297
{
298 299 300 301 302 303 304 305
  RC rc = RC::SUCCESS;

  std::string clog_file_path = std::string(path) + common::FILE_PATH_SPLIT_STR + CLOG_FILE_NAME;
  int fd = ::open(clog_file_path.c_str(), O_RDWR | O_APPEND | O_CREAT, S_IRUSR | S_IWUSR);
  if (fd < 0) {
    rc = RC::IOERR_OPEN;
    LOG_WARN("failed to open clog file. filename=%s, error=%s", clog_file_path.c_str(), strerror(errno));
    return rc;
羽飞's avatar
羽飞 已提交
306
  }
307 308 309 310 311

  filename_ = clog_file_path;
  fd_       = fd;
  LOG_INFO("open clog file success. file=%s, fd=%d", filename_.c_str(), fd_);
  return rc;
羽飞's avatar
羽飞 已提交
312 313
}

314
CLogFile::~CLogFile()
羽飞's avatar
羽飞 已提交
315
{
316 317 318 319 320
  if (fd_ >= 0) {
    LOG_INFO("close clog file. file=%s, fd=%d", filename_.c_str(), fd_);
    ::close(fd_);
    fd_ = -1;
  }
羽飞's avatar
羽飞 已提交
321 322
}

323
RC CLogFile::write(const char *data, int len)
羽飞's avatar
羽飞 已提交
324
{
325 326 327 328
  int ret = writen(fd_, data, len);
  if (0 != ret) {
    LOG_WARN("failed to write data to file. filename=%s, data len=%d, error=%s", filename_.c_str(), len, strerror(ret));
    return RC::IOERR_WRITE;
羽飞's avatar
羽飞 已提交
329
  }
330
  return RC::SUCCESS;
羽飞's avatar
羽飞 已提交
331 332
}

333
RC CLogFile::read(char *data, int len)
羽飞's avatar
羽飞 已提交
334
{
335 336 337 338 339 340 341 342 343
  int ret = readn(fd_, data, len);
  if (ret != 0) {
    if (ret == -1) {
      eof_ = true;
      LOG_TRACE("file read touch eof. filename=%s", filename_.c_str());
    } else {
      LOG_WARN("failed to read data from file. file=%s, data len=%d, error=%s", filename_.c_str(), len, strerror(ret));
    }
    return RC::IOERR_READ;
羽飞's avatar
羽飞 已提交
344
  }
345
  return RC::SUCCESS;
羽飞's avatar
羽飞 已提交
346 347
}

348
RC CLogFile::sync()
羽飞's avatar
羽飞 已提交
349
{
350 351 352 353 354 355
  int ret = fsync(fd_);
  if (ret != 0) {
    LOG_WARN("failed to sync file. file=%s, error=%s", filename_.c_str(), strerror(errno));
    return RC::IOERR_SYNC;
  }
  return RC::SUCCESS;
羽飞's avatar
羽飞 已提交
356 357
}

358
RC CLogFile::offset(int64_t &off) const
羽飞's avatar
羽飞 已提交
359
{
360 361 362 363 364 365 366 367
  off_t pos = lseek(fd_, 0, SEEK_CUR);
  if (pos == -1) {
    LOG_WARN("failed to seek. error=%s", strerror(errno));
    return RC::IOERR_SEEK;
  }

  off = static_cast<int64_t>(pos);
  return RC::SUCCESS;
羽飞's avatar
羽飞 已提交
368 369
}

370 371
////////////////////////////////////////////////////////////////////////////////
RC CLogRecordIterator::init(CLogFile &log_file)
羽飞's avatar
羽飞 已提交
372
{
373 374
  log_file_ = &log_file;
  return RC::SUCCESS;
羽飞's avatar
羽飞 已提交
375 376
}

377 378 379 380
bool CLogRecordIterator::valid() const
{
  return nullptr != log_record_;
}
羽飞's avatar
羽飞 已提交
381

382 383 384 385 386 387 388 389 390 391
RC CLogRecordIterator::next()
{
  delete log_record_;
  log_record_ = nullptr;

  CLogRecordHeader header;
  RC rc = log_file_->read(reinterpret_cast<char *>(&header), sizeof(header));
  if (rc != RC::SUCCESS) {
    if (log_file_->eof()) {
      return RC::RECORD_EOF;
羽飞's avatar
羽飞 已提交
392 393
    }

394 395
    LOG_WARN("failed to read log header. rc=%s", strrc(rc));
    return rc;
羽飞's avatar
羽飞 已提交
396 397
  }

398 399 400 401 402 403 404 405
  char *data = nullptr;
  int32_t record_size = header.logrec_len_;
  if (record_size > 0) {
    data = new char[record_size];
    rc = log_file_->read(data, record_size);
    if (OB_FAIL(rc)) {
      if (log_file_->eof()) {
        // TODO 遇到了没有写完整数据的log,应该truncate一部分数据, 但是现在不管
羽飞's avatar
羽飞 已提交
406
      }
407 408 409 410
      LOG_WARN("failed to read log data. data size=%d, rc=%s", record_size, strrc(rc));
      delete[] data;
      data = nullptr;
      return rc;
羽飞's avatar
羽飞 已提交
411 412
    }
  }
413 414 415 416 417

  delete log_record_;
  log_record_ = CLogRecord::build(header, data);
  delete[] data;
  return rc;
羽飞's avatar
羽飞 已提交
418 419
}

420
const CLogRecord &CLogRecordIterator::log_record()
羽飞's avatar
羽飞 已提交
421
{
422
  return *log_record_;
羽飞's avatar
羽飞 已提交
423 424
}

425 426 427
////////////////////////////////////////////////////////////////////////////////

RC CLogManager::init(const char *path)
羽飞's avatar
羽飞 已提交
428 429
{
  log_buffer_ = new CLogBuffer();
430 431
  log_file_   = new CLogFile();
  return log_file_->init(path);
羽飞's avatar
羽飞 已提交
432 433 434 435 436 437
}

CLogManager::~CLogManager()
{
  if (log_buffer_) {
    delete log_buffer_;
羽飞's avatar
羽飞 已提交
438 439 440 441 442 443 444
    log_buffer_ = nullptr;
  }

  if (log_file_ != nullptr) {
    delete log_file_;
    log_file_ = nullptr;
  }
羽飞's avatar
羽飞 已提交
445 446
}

447 448 449 450 451 452 453
RC CLogManager::append_log(CLogType type, 
                int32_t trx_id, 
                int32_t table_id, 
                const RID &rid, 
                int32_t data_len, 
                int32_t data_offset, 
                const char *data)
羽飞's avatar
羽飞 已提交
454
{
455 456 457
  CLogRecord *log_record = CLogRecord::build_data_record(type, trx_id, table_id, rid, data_len, data_offset, data);
  if (nullptr == log_record) {
    LOG_WARN("failed to create log record");
羽飞's avatar
羽飞 已提交
458 459
    return RC::NOMEM;
  }
460
  return append_log(log_record);
羽飞's avatar
羽飞 已提交
461 462
}

463
RC CLogManager::begin_trx(int32_t trx_id)
羽飞's avatar
羽飞 已提交
464
{
465 466 467 468 469 470 471 472 473
  return append_log(CLogRecord::build_mtr_record(CLogType::MTR_BEGIN, trx_id));
}

RC CLogManager::commit_trx(int32_t trx_id, int32_t commit_xid)
{
  RC rc = append_log(CLogRecord::build_commit_record(trx_id, commit_xid));
  if (rc != RC::SUCCESS) {
    LOG_WARN("failed to append trx commit log. trx id=%d, rc=%s", trx_id, strrc(rc));
    return rc;
羽飞's avatar
羽飞 已提交
474
  }
475 476

  rc = sync(); // 事务提交时需要把当前事务关联的日志,都写入到磁盘中,这样做是保证不丢数据
羽飞's avatar
羽飞 已提交
477 478 479
  return rc;
}

480
RC CLogManager::rollback_trx(int32_t trx_id)
羽飞's avatar
羽飞 已提交
481
{
482
  return append_log(CLogRecord::build_mtr_record(CLogType::MTR_ROLLBACK, trx_id));
羽飞's avatar
羽飞 已提交
483 484
}

485
RC CLogManager::append_log(CLogRecord *log_record)
羽飞's avatar
羽飞 已提交
486
{
487 488 489 490
  if (nullptr == log_record) {
    return RC::INVALID_ARGUMENT;
  }
  return log_buffer_->append_log_record(log_record);
羽飞's avatar
羽飞 已提交
491 492
}

493
RC CLogManager::sync()
羽飞's avatar
羽飞 已提交
494
{
495
  return log_buffer_->flush_buffer(*log_file_);
羽飞's avatar
羽飞 已提交
496 497
}

498
RC CLogManager::recover(Db *db)
羽飞's avatar
羽飞 已提交
499
{
500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575
  CLogRecordIterator log_record_iterator;
  RC rc = log_record_iterator.init(*log_file_);
  if (OB_FAIL(rc)) {
    LOG_WARN("failed to init log record iterator. rc=%s", strrc(rc));
    return rc;
  }

  TrxKit *trx_manager = GCTX.trx_kit_;
  ASSERT(trx_manager != nullptr, "cannot do recover that trx_manager is null");

  /// 遍历所有的日志,然后做redo
  // 在做redo时,需要记录处理的事务。在所有的日志都重做完成时,如果有事务没有结束,那这些事务就需要回滚
  for (rc = log_record_iterator.next(); OB_SUCC(rc) && log_record_iterator.valid(); rc = log_record_iterator.next()) {
    const CLogRecord &log_record = log_record_iterator.log_record();
    LOG_TRACE("begin to redo log={%s}", log_record.to_string().c_str());
    switch (log_record.log_type()) {
      case CLogType::MTR_BEGIN: {
        Trx *trx = trx_manager->create_trx(log_record.trx_id());
        if (trx == nullptr) {
          LOG_WARN("failed to create trx. log_record={%s}", log_record.to_string().c_str());
          return RC::INTERNAL;
        }
      } break;

      case CLogType::MTR_COMMIT: 
      case CLogType::MTR_ROLLBACK: {
        Trx *trx = trx_manager->find_trx(log_record.trx_id());
        if (nullptr == trx) {
          LOG_WARN("no such trx. trx id=%d, log_record={%s}", log_record.trx_id(), log_record.to_string().c_str());
          return RC::INTERNAL;
        }
        rc = trx->redo(db, log_record);
        if (OB_FAIL(rc)) {
          LOG_WARN("failed to redo log. trx id=%d, log_record={%s}, rc=%s", 
                   log_record.trx_id(), log_record.to_string().c_str(), strrc(rc));
          return rc;
        }

      } break;

      default: {
        Trx *trx = GCTX.trx_kit_->find_trx(log_record.trx_id());
        ASSERT(trx != nullptr,
              "cannot find such trx. trx id=%d, log_record={%s}",
              log_record.trx_id(),
              log_record.to_string().c_str());
        
        rc = trx->redo(db, log_record);
        if (rc != RC::SUCCESS) {
          LOG_WARN("failed to redo log record. log_record={%s}, rc=%s", log_record.to_string().c_str(), strrc(rc));
          return rc;
        }

        LOG_TRACE("redo one data record done");
      } break;
    }
  }

  if (rc == RC::RECORD_EOF) {
    rc = RC::SUCCESS;
  } else {
    LOG_ERROR("failed to redo log iterator. rc=%s", strrc(rc));
    return rc;
  }

  LOG_TRACE("recover redo log done");

  vector<Trx *> uncommitted_trxes;
  trx_manager->all_trxes(uncommitted_trxes);
  LOG_INFO("find %d uncommitted trx", uncommitted_trxes.size());
  for (Trx *trx : uncommitted_trxes) {
    trx->rollback();
    trx_manager->destroy_trx(trx);
  }

  return RC::SUCCESS;
羽飞's avatar
羽飞 已提交
576
}