16 lines
676 B
C
16 lines
676 B
C
#ifndef GW_DIRECT_TWO_SITE_TRANSACTION_H
|
|
#define GW_DIRECT_TWO_SITE_TRANSACTION_H
|
|
|
|
#include "startup_bootstrap.h"
|
|
|
|
/* The existing startup publication algorithm, narrowed to one or two exact
|
|
* five-byte original call sites. A site plan and executable relay must be
|
|
* ready before entering this transaction on the owned client thread. */
|
|
int gw_direct_apply_two_patches(const struct GwStartupPatch *patches,
|
|
uint32_t count);
|
|
/* Only failures that returned before writes or after verified rollback may retry. */
|
|
int gw_direct_patch_retryable(int result, uint32_t admission_reason);
|
|
extern struct GwStartupAdmission gw_direct_admission;
|
|
|
|
#endif
|